Thread (22 messages) 22 messages, 5 authors, 2026-02-10

Re: [RFC PATCH 0/4] hwspinlock: refactor headers into public provider/consumer pair

From: Andy Shevchenko <hidden>
Date: 2026-01-26 10:21:08
Also in: linux-arm-msm, linux-doc, linux-gpio, linux-iio, linux-omap, linux-remoteproc, linux-renesas-soc, linux-spi, linux-sunxi

On Mon, Jan 26, 2026 at 11:13:59AM +0100, Wolfram Sang wrote:
quoted
I don't like the idea of sharing internal stuff. Why would we need to have
a struct hwspinlock to be visible?
Providers need it, especially the 'priv' member. Consumers won't see it.
But can't we make it opaque?

We may have getters and setters for the priv member...

-- 
With Best Regards,
Andy Shevchenko


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help