[PATCHv2 0/9] vme_user checkpatch fixes and read()/write() rework

Dmitry Kalinkin dmitry.kalinkin at gmail.com
Tue Jun 23 16:03:30 UTC 2015


First four patches are fixes for various checpatch warnings.  Next there is a
change to drop large read()/write() stub followed by a change to rework user
copy error codes.  Last three changes are refactorings.

v2 fixes  ("vme_user: return -EFAULT on __copy_*_user errors") that had EINVAL
instead of EFAULT in a couple of places.

Dmitry Kalinkin (9):
  staging: vme_user: fix code alignment
  staging: vme_user: fix blank lines
  staging: vme_user: fix NULL comparison style
  staging: vme_user: fix kmalloc style
  staging: vme_user: allow large read()/write()
  staging: vme_user: return -EFAULT on __copy_*_user errors
  staging: vme_user: remove unused variable
  staging: vme_user: remove distracting comment
  staging: vme_user: remove okcount variable

 drivers/staging/vme/devices/vme_user.c | 158 +++++++++++----------------------
 1 file changed, 51 insertions(+), 107 deletions(-)

-- 
1.8.3.1



More information about the devel mailing list