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: <20250112164201.067ecd9e@jic23-huawei>
Date: Sun, 12 Jan 2025 16:42:01 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Julien Stephan <jstephan@...libre.com>, Lars-Peter Clausen
 <lars@...afoo.de>, Michael Hennerich <Michael.Hennerich@...log.com>, Nuno
 Sá <nuno.sa@...log.com>, David Lechner
 <dlechner@...libre.com>, Jonathan Corbet <corbet@....net>,
 linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-doc@...r.kernel.org
Subject: Re: [PATCH v4 1/5] iio: adc: ad7380: do not use
 iio_device_claim_direct_scoped anymore

On Sun, 12 Jan 2025 18:29:42 +0200
Andy Shevchenko <andy.shevchenko@...il.com> wrote:

> Wed, Jan 08, 2025 at 01:49:33PM +0100, Julien Stephan kirjoitti:
> > Conditionnal scoped handlers are turning out to be a real pain:
> > readability issues, compiler and linker handling issues among others so
> > rollback and remove the scoped version of iio_dvice_claim_direct_mode.  
> 
> Is it IIO level decision or you as a contributor to/maintainer of this driver?
> If the former? can you add a Link to the discussion?


IIO. Agreed a link would have been sensible here.

> 
> Otherwise, I would like to understand the common approach / practices in IIO
> WRT individual drivers to deviate the common approaches. Jonathan?

Patch series on list ripping the whole lot out that has some more explanation
and links.  Basically we never found a way to overcome the short comings of
conditional scoped guards.

https://lore.kernel.org/linux-iio/20250105172613.1204781-1-jic23@kernel.org/

Jonathan

> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ