Re: [PATCH] spi: spidev: Align ordering of spidev_spi_ids[] and spidev_dt_ids[]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Geert,

On Wed, Dec 18, 2024 at 08:10:57PM +0100, Geert Uytterhoeven wrote:
> On Wed, Dec 18, 2024 at 8:02 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > Further improvements could be:
> >   - Generate spidev_spi_ids[] from spidev_dt_ids[] at runtime
> >     during module_init() (consumes cycles :-(,
> >   - Teach the subsystem matching code to strip the vendor prefix,
> >     to get rid of spidev_spi_ids[].
> 
> Oops, and modutils, as the tables are used by userspace :-(

Then how about a build-time check comparing spi and of module info?

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux