summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-07-12 05:51:04 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-08-20 21:45:15 +0200
commit99a2c96d52d312b11a943372964226fa134de3b1 (patch)
treea3d63171689e7c7eaaeb5f617cd047f6743dc0e3 /arch/x86
parentcsum_partial_copy_nocheck(): drop the last argument (diff)
downloadlinux-99a2c96d52d312b11a943372964226fa134de3b1.tar.xz
linux-99a2c96d52d312b11a943372964226fa134de3b1.zip
csum_and_copy_..._user(): pass 0xffffffff instead of 0 as initial sum
Preparation for the change of calling conventions; right now all callers pass 0 as initial sum. Passing 0xffffffff instead yields the values comparable mod 0xffff and guarantees that 0 will not be returned on success. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions