[PATCH v15 2/8] mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes
Michael Walle
michael at walle.cc
Thu May 12 14:22:43 PDT 2022
Am 2022-05-10 00:10, schrieb tkuw584924 at gmail.com:
> From: Tudor Ambarus <tudor.ambarus at microchip.com>
>
> 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 at microchip.com>
I'm not even sure if this actually shrink the size due to
alignments of the members by the compiler, nor do I see any
value in saving one byte. But anyway:
Reviewed-by: Michael Walle <michael at walle.cc>
-michael
More information about the linux-mtd
mailing list