Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-23 Thread Rafael J. Wysocki
On Wed, Jul 23, 2025 at 11:01 AM Thierry Reding wrote: > > On Tue, Jul 22, 2025 at 04:08:09PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Jul 22, 2025 at 03:56:40PM +0200, Thierry Reding wrote: > > > On Sat, Jul 19, 2025 at 08:52:41AM +0200, Greg Kroah-Hartman wrote: > > > > On Fri, Jul 18, 2025

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-23 Thread Thierry Reding
On Tue, Jul 22, 2025 at 04:08:09PM +0200, Greg Kroah-Hartman wrote: > On Tue, Jul 22, 2025 at 03:56:40PM +0200, Thierry Reding wrote: > > On Sat, Jul 19, 2025 at 08:52:41AM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > > > > On Thu, Jul 17,

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 22, 2025 at 03:56:40PM +0200, Thierry Reding wrote: > On Sat, Jul 19, 2025 at 08:52:41AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > > > On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: > > > > On Thu, Jul 17,

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-22 Thread Thierry Reding
On Sat, Jul 19, 2025 at 08:52:41AM +0200, Greg Kroah-Hartman wrote: > On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > > On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: [...] > > struct sy

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-18 Thread Greg Kroah-Hartman
On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Hi, > > > > > > Something that's been bugging me over t

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-18 Thread Thierry Reding
On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: > On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > Hi, > > > > Something that's been bugging me over the years is how some drivers have > > had to adopt file-scoped variables to pa

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-17 Thread Greg Kroah-Hartman
On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Hi, > > Something that's been bugging me over the years is how some drivers have > had to adopt file-scoped variables to pass data into something like the > syscore operations. This is often harmless, but