Re: [PATCH 03/30] mtd: spi-nor: winbond: Stop filling the .name entry
From: Michael Walle
Date: Mon Aug 10 2026 - 03:22:57 EST
On Thu Aug 6, 2026 at 11:47 AM CEST, Miquel Raynal wrote:
> Hello,
>
>>> Replace the names with a comment above the entry with the newly instated
>>> naming scheme to indicate what chips are covered by each entry.
>>
>> This is exported via sysfs, so this could be a regression.
>
> Well, actually names are not exported through sysfs. Only the mtd name
> is available through sysfs, and it is set to `spiX.Y`. That name is only
> available through debugfs, which is not part of the stable API.
>
> I should have checked before dropping all my patches...
That's not correct, see
https://elixir.bootlin.com/linux/v7.1.7/source/drivers/mtd/spi-nor/sysfs.c#L21
-michael
Attachment:
signature.asc
Description: PGP signature