[PATCH] tty_audit: Fix checkpatch complaint

From: Alan Cox
Date: Mon Nov 19 2007 - 10:00:24 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24-rc2-mm1/drivers/char/tty_audit.c linux-2.6.24-rc2-mm1/drivers/char/tty_audit.c
--- linux.vanilla-2.6.24-rc2-mm1/drivers/char/tty_audit.c 2007-11-16 17:20:41.000000000 +0000
+++ linux-2.6.24-rc2-mm1/drivers/char/tty_audit.c 2007-11-16 18:20:50.000000000 +0000
@@ -27,7 +27,7 @@
{
struct tty_audit_buf *buf;

- buf = kmalloc(sizeof (*buf), GFP_KERNEL);
+ buf = kmalloc(sizeof(*buf), GFP_KERNEL);
if (!buf)
goto err;
if (PAGE_SIZE != N_TTY_BUF_SIZE)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/