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] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <TYRPR01MB1561962BEB21FDF013F18FB9B8598A@TYRPR01MB15619.jpnprd01.prod.outlook.com>
Date: Wed, 4 Feb 2026 19:50:10 +0000
From: Cosmin-Gabriel Tanislav <cosmin-gabriel.tanislav.xa@...esas.com>
To: David Lechner <dlechner@...libre.com>, Jonathan Cameron
	<jic23@...nel.org>, Nuno Sá <nuno.sa@...log.com>, Andy
 Shevchenko <andy@...nel.org>
CC: "linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] iio: ABI: fix current_trigger description

> From: David Lechner <dlechner@...libre.com>
> Sent: Wednesday, February 4, 2026 9:44 PM
> 
> On 2/4/26 12:02 PM, Cosmin Tanislav wrote:
> > Triggers exist under /sys/bus/iio/devices/, not under /sys/class/iio.
> > /sys/class/iio does not even exist. Use the current path.
> >
> > Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@...esas.com>
> > ---
> >  Documentation/ABI/testing/sysfs-bus-iio | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> > index 5f87dcee78f7..4fc9f6bd4281 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > @@ -1428,7 +1428,7 @@ KernelVersion:	2.6.35
> >  Contact:	linux-iio@...r.kernel.org
> >  Description:
> >  		The name of the trigger source being used, as per string given
> > -		in /sys/class/iio/triggerY/name.
> > +		in /sys/bus/iio/devices/triggerY/name.
> 
> While we are fixing this, the docs refer to it as triggerX rather than
> triggerY.
> 

While I do agree that triggerX would match the definition inside
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs, I think
triggerY is the correct name here, because iio:deviceX is used
right above. If we were to use triggerX, it would leave the
impression that the X from deviceX and the X from triggerX are the
same value.

> /sys/bus/iio/devices/triggerX is documented, but
> /sys/bus/iio/devices/triggerY/name actually seems to be missing. That is
> for another patch though.
> 
> >
> >  What:		/sys/bus/iio/devices/iio:deviceX/bufferY/length
> >  KernelVersion:	5.11

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ