diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-08-02 10:07:05 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-08-10 14:52:45 +1000 |
commit | 1bc8b816cb8058c31f61fe78442f10a43209e582 (patch) | |
tree | 8cfa034ebc9162343c8fdc80814a4d17d37aff5e /Documentation | |
parent | c6d2ee09c2fffd3efdd31be2b2811d081a45bb99 (diff) |
powerpc/32: Fix csum_partial_copy_generic()
Commit 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic()
based on copy_tofrom_user()") introduced a bug when destination
address is odd and initial csum is not null
In that (rare) case the initial csum value has to be rotated one byte
as well as the resulting value is
This patch also fixes related comments
Fixes: 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions