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

From: Michael Walle
Date: Wed Sep 06 2023 - 03:04:16 EST


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