lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250825105032.45f33b12@jic23-huawei>
Date: Mon, 25 Aug 2025 10:50:32 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Dixit Parmar <dixitparmar19@...il.com>
Cc: Andy Shevchenko <andriy.shevchenko@...el.com>, David Lechner
 <dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>, Andy
 Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>, Krzysztof
 Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
 linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
 devicetree@...r.kernel.org, Andy Shevchenko <andy.shevchenko@...il.com>
Subject: Re: [PATCH v4 1/2] iio: magnetometer: add support for Infineon
 TLV493D 3D Magentic sensor

On Mon, 25 Aug 2025 08:33:07 +0530
Dixit Parmar <dixitparmar19@...il.com> wrote:

> On Fri, Aug 22, 2025 at 8:10 AM Dixit Parmar <dixitparmar19@...il.com> wrote:
> >
> > On Thu, Aug 21, 2025 at 10:41:03AM +0300, Andy Shevchenko wrote:  
> > > On Thu, Aug 21, 2025 at 6:02 AM Dixit Parmar <dixitparmar19@...il.com> wrote:  
> > > > On Wed, Aug 20, 2025 at 05:08:38PM +0300, Andy Shevchenko wrote:  
> > >
> > > ...
> > >  
> > > > > >  st_magn-$(CONFIG_IIO_BUFFER) += st_magn_buffer.o
> > > > > >  obj-$(CONFIG_IIO_ST_MAGN_I2C_3AXIS) += st_magn_i2c.o
> > > > > >  obj-$(CONFIG_IIO_ST_MAGN_SPI_3AXIS) += st_magn_spi.o
> > > > > >
> > > > > > +obj-$(CONFIG_INFINEON_TLV493D)             += tlv493d.o
> > > > > > +
> > > > > >  obj-$(CONFIG_SENSORS_HMC5843)              += hmc5843_core.o
> > > > > >  obj-$(CONFIG_SENSORS_HMC5843_I2C)  += hmc5843_i2c.o
> > > > > >  obj-$(CONFIG_SENSORS_HMC5843_SPI)  += hmc5843_spi.o  
> > > > >
> > > > > I haven't got the ordering rules here and in Kconfig. Can it be alphabetical?  
> > > > From what I can see, the order is alphabetical based on the CONFIG option in the
> > > > Makefile and Kconfig, and I kept CONFIG_INFINEO_TLV493D after CONFIG_IIO_ST*.
> > > > Isn't it in correct order? or my understanding is incorrect?  
> > >
> > > I dunno, The file name there is with the vendor prefix, in many cases
> > > the configuration option is with vendor prefix as well, but the file.  
> > Hi Jonathan, Can you please suggest best possible way here?  
> Hi Jonathan, When you get a chance, please share your thoughts on this.

No hard rules on this.  We should probably make some but don't have
them yet, so try to go with what seems most common in the particular file.

Jonathan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ