]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] megaraid: Make megaraid_ioctl() check copy_to_user() return value
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 15 Sep 2006 12:43:11 +0000 (14:43 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 23 Sep 2006 16:53:09 +0000 (11:53 -0500)
commit2d2f8d59b14bec6c745e219a350ac51d9e00673f
tree0e40289425e854c0b7f6e899600f2abd9a6df6bd
parent5fcda4224529c4e550c917668d5e96c1d3e7039b
[SCSI] megaraid: Make megaraid_ioctl() check copy_to_user() return value

Check copy_to_user() return value in drivers/scsi/megaraid.c::megadev_ioctl()
This gets rid of this little warning:
  drivers/scsi/megaraid.c:3661: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: "Ju, Seokmann" <Seokmann.Ju@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid.c