Skip to contentSkip to conversation

tty_audit: Fix checkpatch complaint

PATCH New Alan Cox 1 participant 1 message Nov 19, 2007 Char and misc drivers

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 tty_audit: Fix checkpatch complaint

drivers/char/tty_audit.c +1 -1
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
@@ -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)