]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes
authorTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 25 Jul 2022 09:25:00 +0000 (12:25 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 28 Jul 2022 02:11:56 +0000 (05:11 +0300)
commit7aa89564b2cb0863c526f74f8345c52e7f4872ea
tree74d786d2068712974d2e3d633045f6c908fa7e9e
parent51dd9c404ed27340cdf75606d8c960423dc28964
mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes

The maximum number of address bytes in SPI NOR is 4. Shrink the storage
size of the flash_info's addr_nbytes.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220725092505.446315-3-tudor.ambarus@microchip.com
drivers/mtd/spi-nor/core.h