提交 2c8e2dcb 编写于 作者: C Chaehyun Lim 提交者: Greg Kroah-Hartman

staging: wilc1000: fix logical continuations

This patch fixes logical continuations found by checkpatch
CHECK: Logical continuations should be on the previous line
Signed-off-by: NChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7adf4f31
...@@ -115,8 +115,7 @@ int wilc_mq_recv(struct message_queue *mq, ...@@ -115,8 +115,7 @@ int wilc_mq_recv(struct message_queue *mq,
struct message *msg; struct message *msg;
unsigned long flags; unsigned long flags;
if ((!mq) || (recv_buf_size == 0) if ((!mq) || (recv_buf_size == 0) || (!recv_buf) || (!recv_len)) {
|| (!recv_buf) || (!recv_len)) {
PRINT_ER("mq or recv_buf is null\n"); PRINT_ER("mq or recv_buf is null\n");
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册