summaryrefslogtreecommitdiff
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-05-27 10:49:13 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-06-18 09:45:20 +0200
commit55e06ae25ea23516026fd0b2b70d5692037b86a8 (patch)
treef42523949932557f5ff28e1c406482960f049bc2 /block/blk-wbt.h
parentcf67edce22c5d7edc6cad64dbeb1d5d7d0099837 (diff)
downloadlinux-next-55e06ae25ea23516026fd0b2b70d5692037b86a8.tar.gz
mtd: rawnand: onfi: Fix endianness when reading NV-DDR values
Without the use of le16_to_cpu(), these accesses would have been wrong on a big-endian machine. Reported-by: kernel test robot <lkp@intel.com> Fixes: 45606518f961 ("mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper") Fixes: 9310668fb60a ("mtd: rawnand: Retrieve NV-DDR timing modes from the ONFI parameter page") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210527084913.208635-1-miquel.raynal@bootlin.com
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions