mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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:45606518f9("mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper") Fixes:9310668fb6("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
This commit is contained in:
parent
cf67edce22
commit
55e06ae25e
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue