Re: NetXen crash in sysfs_create_file

From: David Miller
Date: Fri Dec 18 2009 - 23:14:08 EST


From: Stephen Hemminger <shemminger@xxxxxxxxxx>
Date: Fri, 18 Dec 2009 16:20:54 -0800

> Subject: [PATCH] netxen: use module parameter correctly
>
> Netxen driver is doing this bogus thing to create a control file.
> This fails if device doesn't exist, and overall is a bad way to do
> the module parameter. Rather than fix borked code, just rewrite.
> Just using a writeable module parameter of 0/1 is the correct way
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>

Applied, thanks Stephen.
--
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/