提交 3411d035 编写于 作者: J Joe Perches 提交者: Greg Kroah-Hartman

goldfish_pipe: Fix unlikely() misuse

Move the close parenthesis.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d3046ba8
......@@ -282,7 +282,7 @@ static ssize_t goldfish_pipe_read_write(struct file *filp, char __user *buffer,
return -EIO;
/* Null reads or writes succeeds */
if (unlikely(bufflen) == 0)
if (unlikely(bufflen == 0))
return 0;
/* Check the buffer range for access */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册