# Editor crap (emacs, vim, ...) *.swp *.orig \#*\# .\#* .*.sw[a-z] *.un~ # Hidden files, general things .* *~ # Compiled object files *.slo *.lo *.o # Compiled dynamic libraries *.so # Compiled static libraries *.lai *.la *.a # cscope/ctags index files cscope* tags # Testing folders fuzzing/ # Ignore if someone adapts Makefile Makefile # Ignore build config generated by configure Config config.h config.log # Other documentation ignores *.md *.ps # Compressed archives *.tar.bz2 *.tar.bz *.tar.xz # Release related stuff .MAIL_MSG # Excluded from ignorance !.gitignore ref='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/Documentation/i2c/fault-codes
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-13 15:55:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-24 15:36:15 +0200
commitcf55902b9c306ed259eb57ff111a0c152620f4a6 (patch)
tree52336fa644b83a8b467b9b64f1218f25be5f9920 /Documentation/i2c/fault-codes
parent8b77eb97f7847d67129d5312596e953bd7946f48 (diff)
staging: android: ion: Fix error handling in ion_query_heaps()
If the copy_to_user() fails we should unlock and return directly without updating "cnt". Also the return value should be -EFAULT instead of the number of bytes remaining. Fixes: 02b23803c6af ("staging: android: ion: Add ioctl to query available heaps") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')