diff options
| author | 2015-09-15 13:35:25 +0300 | |
|---|---|---|
| committer | 2015-09-15 06:40:57 -0700 | |
| commit | 978fdc22bae06ea7422d7660ac78ed1c1c9c3e2a (patch) | |
| tree | c939c9df2eec4ea6c1d908c31cfd5f70292982e3 /scripts/stackusage | |
| parent | hfi1: drop null test before destroy functions (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>
Cc: Mike Marciniszyn <infinipath@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
