lkml.org 
[lkml]   [2023]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 12/41] mtd: spi-nor: introduce (temporary) INFO0()
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

\
 
 \ /
  Last update: 2023-09-06 09:04    [W:2.129 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site