summaryrefslogtreecommitdiff
path: root/drivers/parisc/gsc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-09-15 13:35:25 +0300
committerDoug Ledford <dledford@redhat.com>2015-09-18 11:28:47 -0400
commite1df0068a24ba56673183cc3bd392d8bc301d423 (patch)
treee607044c89eee498d0718100f2b3dc528299f9aa /drivers/parisc/gsc.c
parentaadfc3b2042d69a6b4b8d719d4221b988d7f31a5 (diff)
IB/hfi1: fix copy_to/from_user() error handling
copy_to/from_user() returns the number of bytes which we were not able to copy. It doesn't return an error code. Also a couple places had a printk() on error and I removed that because people can take advantage of it to fill /var/log/messages with spam. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/parisc/gsc.c')
0 files changed, 0 insertions, 0 deletions