commit | 99a2c96d52d312b11a943372964226fa134de3b1 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 11 23:51:04 2020 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 20 15:45:15 2020 -0400 |
tree | a3d63171689e7c7eaaeb5f617cd047f6743dc0e3 | |
parent | cc44c17baf7f3f833d36b2f2a1edb1cc0b6f2cc4 [diff] |
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>