[PATCH v2 12/41] mtd: spi-nor: introduce (temporary) INFO0()

Michael Walle mwalle at kernel.org
Wed Sep 6 00:04:01 PDT 2023


Am 2023-09-06 08:04, schrieb Tudor Ambarus:
> On 8/22/23 08:09, Michael Walle wrote:
>> The id will be converted to an own structure. To differentiate between
>> flashes with and without IDs, introduce a temporary macro INFO0() and
> 
> why do we need to differentiate between them?

The INFOn() macros will have a pointer to the SNOR_ID() whereas INFO0()
doesn't have a pointer. Before, it didn't really matter because we
tested for the id_len, but now we'll test the pointer (see next patch).

-michael



More information about the linux-mtd mailing list