]> err.no Git - linux-2.6/commit
[PATCH] pcmcia: handle __copy_from_user() return value in ioctl
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 19 Nov 2006 16:21:27 +0000 (11:21 -0500)
committerDominik Brodowski <linux@dominikbrodowski.net>
Tue, 5 Dec 2006 01:09:16 +0000 (20:09 -0500)
commit9374074f9b8bfe15bd5860019d07d967507c2bb6
tree0a4773e92454964e3fb8f342115085202e2f761e
parent1d2c90425d5b0dcbf4a0fab2053d5087758b76a0
[PATCH] pcmcia: handle __copy_from_user() return value in ioctl

Handle __copy_from_user() return value.

drivers/pcmcia/pcmcia_ioctl.c:597: warning: ignoring return value of '__copy_from_user', declared with attribute warn_unused_result

Noticed and first fix by Randy Dunlap.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/pcmcia_ioctl.c