linux/drivers/staging
Dan Carpenter e1df0068a2 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>
2015-09-18 11:28:47 -04:00
..
android Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
board staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP 2015-07-06 10:06:47 -07:00
clocking-wizard
comedi staging: comedi: das1800: add missing break in switch 2015-07-31 16:59:47 -07:00
dgap Staging: dgap: dgap: Fixed spelling errors 2015-05-31 11:40:14 +09:00
dgnc staging: dgnc: free memory allocated 2015-06-18 21:15:17 -07:00
emxx_udc staging: emxx_udc: remove commented code 2015-06-15 21:56:37 -07:00
fbtft staging: fbtft: correct a typo in a comment 2015-06-13 14:50:11 -07:00
fsl-mc
ft1000 staging: ft1000-usb: Removed CVS keyword marker 2015-06-18 21:13:48 -07:00
fwserial staging: fwserial: fix resource leak 2015-05-31 11:47:57 +09:00
gdm72xx staging: gdm72xx: Fix typos in printk 2015-05-31 11:47:56 +09:00
gdm724x staging: gdm724x: Remove test for host endian 2015-05-31 11:47:56 +09:00
goldfish staging: goldfish: Fix pointer cast for 32 bits 2015-05-31 11:40:14 +09:00
gs_fpgaboot
iio iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
lustre staging: lustre: Include unaligned.h instead of access_ok.h 2015-08-04 22:13:25 -07:00
media Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
mt29f_spinand
netlogic
nvec staging: nvec: remove duplicated const 2015-06-17 21:30:40 -07:00
octeon
octeon-usb
olpc_dcon
ozwpan staging: ozwpan: prevent a couple of underflows 2015-06-08 13:38:56 -07:00
panel Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rdma IB/hfi1: fix copy_to/from_user() error handling 2015-09-18 11:28:47 -04:00
rtl8188eu staging: rtl8188eu: remove space before open square bracket '[' 2015-06-18 21:13:48 -07:00
rtl8192e Staging: rtl8192e: Timer setup using macro rather assignment 2015-06-17 21:38:23 -07:00
rtl8192u staging: rtl8192u: ieee80211: Fix incorrect type in assignment 2015-06-17 21:33:26 -07:00
rtl8712 staging: rtl8712: fix else after break or return warning 2015-06-13 14:45:51 -07:00
rtl8723au Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rts5208 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
skein Drivers: staging: skein: skein_api: Fixed spelling errors 2015-05-31 10:30:40 +09:00
slicoss staging: slicoss: remove unused macro 2015-06-17 21:30:40 -07:00
sm7xxfb staging: sm7xxfb: fix camelcase 2015-06-17 21:44:30 -07:00
sm750fb Staging: sm750fb: ddk750_swi2c.c: Insert spaces before parenthesis 2015-06-18 22:10:02 -07:00
speakup staging: speakup: use swap() in get_highlight_color() 2015-06-12 17:19:47 -07:00
ste_rmi4
unisys staging: unisys: visorchannel_write() fix potential memory corruption 2015-06-16 14:36:39 -07:00
vme staging: vme_user: remove buf_unalloc helper 2015-06-13 14:46:38 -07:00
vt6655 staging: vt6655: vnt_bss_info_changed check conf->beacon_rate is not NULL 2015-08-03 17:54:51 -07:00
vt6656 staging: vt6656: check ieee80211_bss_conf bssid not NULL 2015-07-14 19:34:57 -07:00
wilc1000 staging: wilc1000: disable driver due to build warnings 2015-06-26 12:04:47 -07:00
wlan-ng Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
xgifb staging: xgifb: use arch_phys_wc_add() and ioremap_wc() 2015-05-31 10:30:40 +09:00
Kconfig Staging: Add staging/rdma directory and update MAINTAINERS 2015-08-28 22:54:49 -04:00
Makefile Staging: Add staging/rdma directory and update MAINTAINERS 2015-08-28 22:54:49 -04:00
staging.c