public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] GSoC 2026: Transitioning IIO to guard() and scoped_guard()
@ 2026-03-11 19:46 Ethan Tidmore
  2026-03-11 20:18 ` Andy Shevchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Ethan Tidmore @ 2026-03-11 19:46 UTC (permalink / raw)
  To: jic23, andy; +Cc: linux-iio, Ethan Tidmore

Hi Jonathan, Andy,

I'm proposing converting the entire IIO tree to use guard() and
scoped_guard() instead of manual locking. This would greatly reduce
boilerplate, the possibility of lock leaks and modernize the entire IIO 
tree to current kernel API standards.

$ grep -rn "mutex_lock" drivers/iio | wc -l
874

This would have to be a "Large" project according to GsoC due to the scale
of the IIO tree. If this is wanted, I would like to know how these changes
should be submitted to make this easier to review. I was thinking per
directory per vendor. 

Looking forward to hear your feedback.

Thanks,

ET

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-18  1:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 19:46 [RFC] GSoC 2026: Transitioning IIO to guard() and scoped_guard() Ethan Tidmore
2026-03-11 20:18 ` Andy Shevchenko
2026-03-14 11:07   ` Jonathan Cameron
2026-03-14 18:08     ` Ethan Tidmore
2026-03-15 18:34       ` David Lechner
2026-03-15 19:01         ` Jonathan Cameron
2026-03-15 18:41       ` Jonathan Cameron
2026-03-16  1:11         ` Ethan Tidmore
2026-03-18  1:28           ` Ethan Tidmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox