Re: [PATCH] kzalloc with swapped params in l2tp_dfs_seq_open

From: David Miller
Date: Mon Nov 01 2010 - 09:56:11 EST


From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
Date: Sun, 31 Oct 2010 17:26:03 +0000

> Hi,
> 'sparse' spotted that the parameters to kzalloc in l2tp_dfs_seq_open
> were swapped.
>
> Tested on current git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> at 1792f17b7210280a3d7ff29da9614ba779cfcedb build, boots and I can see that directory,
> but there again I could see /sys/kernel/debug/l2tp with it swapped; I don't have
> any l2tp in use.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>

Applied, thank you.
--
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/