diff options
author | 2022-07-28 10:12:12 +0300 | |
---|---|---|
committer | 2022-09-21 10:38:46 +0200 | |
commit | 3e4ad3212cf22687410b1e8f4e68feec50646113 (patch) | |
tree | 300e5d972b4d3af11062e159b71d25f64dff3164 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: arasan: stop using 0 as NULL pointer (diff) | |
download | linux-dev-3e4ad3212cf22687410b1e8f4e68feec50646113.tar.xz linux-dev-3e4ad3212cf22687410b1e8f4e68feec50646113.zip |
mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
The meson_nfc_ecc_correct() function accidentally does a right shift
instead of a left shift so it only works for BIT(0). Also use
BIT_ULL() because "correct_bitmap" is a u64 and we want to avoid
shift wrapping bugs.
Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Liang Yang <liang.yang@amlogic.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/YuI2zF1hP65+LE7r@kili
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions