mirror of https://gitee.com/openkylin/linux.git
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:
parent
4129a6454d
commit
66c6ceae39
|
@ -27,7 +27,7 @@ static struct tty_audit_buf *tty_audit_buf_alloc(int major, int minor,
|
|||
{
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue