Re: [PATCH] dnet: fix wrong use of platform_set_drvdata()

From: David Miller
Date: Mon Feb 28 2011 - 15:22:09 EST

From: Ilya Yanok <yanok@xxxxxxxxxxx>
Date: Mon, 21 Feb 2011 21:20:30 +0100

> platform_set_drvdata() was used with argument of incorrect type and
> could cause memory corruption. Moreover, because of not setting drvdata
> in the correct place not all resources were freed upon module unload.
> Signed-off-by: Ilya Yanok <yanok@xxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at