tty_audit: fix checkpatch complaint
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -27,7 +27,7 @@ static struct tty_audit_buf *tty_audit_buf_alloc(int major, int minor,
|
|||||||
{
|
{
|
||||||
struct tty_audit_buf *buf;
|
struct tty_audit_buf *buf;
|
||||||
|
|
||||||
buf = kmalloc(sizeof (*buf), GFP_KERNEL);
|
buf = kmalloc(sizeof(*buf), GFP_KERNEL);
|
||||||
if (!buf)
|
if (!buf)
|
||||||
goto err;
|
goto err;
|
||||||
if (PAGE_SIZE != N_TTY_BUF_SIZE)
|
if (PAGE_SIZE != N_TTY_BUF_SIZE)
|
||||||
|
Reference in New Issue
Block a user