Re: [PATCH 1/6] drivers: base: devres: Allow to release group on device release

2025-02-20 Thread Greg Kroah-Hartman
On Thu, Feb 20, 2025 at 05:48:10PM -0600, Lucas De Marchi wrote: > On Thu, Feb 20, 2025 at 01:24:20PM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 12, 2025 at 12:05:37PM -0800, Lucas De Marchi wrote: > > > When releasing a device, if the release action causes a group to be > > > released, a war

Re: [PATCH 1/6] drivers: base: devres: Allow to release group on device release

2025-02-20 Thread Lucas De Marchi
On Thu, Feb 20, 2025 at 01:24:20PM +0100, Greg Kroah-Hartman wrote: On Wed, Feb 12, 2025 at 12:05:37PM -0800, Lucas De Marchi wrote: When releasing a device, if the release action causes a group to be released, a warning is emitted because it can't find the group. This happens because devres_rel

Re: [PATCH 1/6] drivers: base: devres: Allow to release group on device release

2025-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 12, 2025 at 12:05:37PM -0800, Lucas De Marchi wrote: > When releasing a device, if the release action causes a group to be > released, a warning is emitted because it can't find the group. This > happens because devres_release_all() moves the entire list to a todo > list and also move t

[PATCH 1/6] drivers: base: devres: Allow to release group on device release

2025-02-12 Thread Lucas De Marchi
When releasing a device, if the release action causes a group to be released, a warning is emitted because it can't find the group. This happens because devres_release_all() moves the entire list to a todo list and also move the group markers. Considering r* normal resource nodes and g1 a group res