diff options
| author | Alexander Gordeev <[email protected]> | 2020-06-11 01:41:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-06-11 02:14:17 +0000 |
| commit | 81c4f4d924d5d009b5ed785a3e22b18d0f7b831f (patch) | |
| tree | e42c8ef42ff1e15a331c50c4512a053897412f1c /lib/test_bitops.c | |
| parent | checkpatch: correct check for kernel parameters doc (diff) | |
| download | kernel-81c4f4d924d5d009b5ed785a3e22b18d0f7b831f.tar.gz kernel-81c4f4d924d5d009b5ed785a3e22b18d0f7b831f.zip | |
lib: fix bitmap_parse() on 64-bit big endian archs
Commit 2d6261583be0 ("lib: rework bitmap_parse()") does not take into
account order of halfwords on 64-bit big endian architectures. As
result (at least) Receive Packet Steering, IRQ affinity masks and
runtime kernel test "test_bitmap" get broken on s390.
[[email protected]: convert infinite while loop to a for loop]
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 2d6261583be0 ("lib: rework bitmap_parse()")
Signed-off-by: Alexander Gordeev <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Yury Norov <[email protected]>
Cc: Amritha Nambiar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Steffen Klassert <[email protected]>
Cc: "Tobin C . Harding" <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitops.c')
0 files changed, 0 insertions, 0 deletions
