diff options
author | Alexey Dobriyan <[email protected]> | 2018-06-07 17:09:52 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-06-07 17:34:38 -0700 |
commit | b42262af5ecfc64f92423dc1e5ef634d9195f4b0 (patch) | |
tree | f428713bb9731452eab2868d581df1ee4ef331f6 /lib/mpi/mpi-cmp.c | |
parent | 72eb7de9c1580cf5705d4f592aca21a8438fde22 (diff) |
proc: more "unsigned int" in /proc/*/cmdline
access_remote_vm() doesn't return negative errors, it returns number of
bytes read/written (0 if error occurs). This allows to delete some
comparisons which never trigger.
Reuse "nr_read" variable while I'm at it.
Link: http://lkml.kernel.org/r/20180221192605.GB28548@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions