Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3411d035 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

goldfish_pipe: Fix unlikely() misuse



Move the close parenthesis.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3046ba8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */