Skip to content
Commit 99a2c96d authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cc44c17b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment