OMAP: mailbox: fix checkpatch warnings
Fix the following checkpatch warnings observed in mailbox module.
WARNING: please, no space for starting a line,
excluding comments
+ fail_alloc_rxq:$
WARNING: please, no space for starting a line,
excluding comments
+ fail_alloc_txq:$
WARNING: please, no space for starting a line,
excluding comments
+ fail_request_irq:$
WARNING: line over 80 characters
+ mbox_kfifo_size = max_t(unsigned int, mbox_kfifo_size, sizeof(mbox_msg_t));
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Acked-by: Hiroshi Doyu <hiroshi.doyu@nokia.com>
This commit is contained in:
committed by
Hari Kanigeri
parent
d2295042b7
commit
ab66ac3007
@@ -396,7 +396,8 @@ static int __init omap_mbox_init(void)
|
|||||||
|
|
||||||
/* kfifo size sanity check: alignment and minimal size */
|
/* kfifo size sanity check: alignment and minimal size */
|
||||||
mbox_kfifo_size = ALIGN(mbox_kfifo_size, sizeof(mbox_msg_t));
|
mbox_kfifo_size = ALIGN(mbox_kfifo_size, sizeof(mbox_msg_t));
|
||||||
mbox_kfifo_size = max_t(unsigned int, mbox_kfifo_size, sizeof(mbox_msg_t));
|
mbox_kfifo_size = max_t(unsigned int, mbox_kfifo_size,
|
||||||
|
sizeof(mbox_msg_t));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user