2024-03-29 11:36:00

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 09/22] gpio: virtio: drop owner assignment

On 29/03/2024 11:27, Bartosz Golaszewski wrote:
> On Wed, Mar 27, 2024 at 1:45 PM Krzysztof Kozlowski
> <[email protected]> wrote:
>>
>> virtio core already sets the .owner, so driver does not need to.
>>
>> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>>
>> ---
>>
>> Depends on the first patch.
>> ---
>> drivers/gpio/gpio-virtio.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
>> index fcc5e8c08973..9fae8e396c58 100644
>> --- a/drivers/gpio/gpio-virtio.c
>> +++ b/drivers/gpio/gpio-virtio.c
>> @@ -653,7 +653,6 @@ static struct virtio_driver virtio_gpio_driver = {
>> .remove = virtio_gpio_remove,
>> .driver = {
>> .name = KBUILD_MODNAME,
>> - .owner = THIS_MODULE,
>> },
>> };
>> module_virtio_driver(virtio_gpio_driver);
>>
>> --
>> 2.34.1
>>
>
> Applied, thanks!

I expressed dependency in two places: cover letter and this patch.
Please drop it, because without dependency this won't work. Patch could
go with the dependency and with your ack or next cycle.

Best regards,
Krzysztof



2024-03-29 19:32:02

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH 09/22] gpio: virtio: drop owner assignment

On Fri, Mar 29, 2024 at 12:35 PM Krzysztof Kozlowski
<[email protected]> wrote:
>
> On 29/03/2024 11:27, Bartosz Golaszewski wrote:
> > On Wed, Mar 27, 2024 at 1:45 PM Krzysztof Kozlowski
> > <[email protected]> wrote:
> >>
> >> virtio core already sets the .owner, so driver does not need to.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> >>
> >> ---
> >>
> >> Depends on the first patch.
> >> ---
> >> drivers/gpio/gpio-virtio.c | 1 -
> >> 1 file changed, 1 deletion(-)
> >>
> >> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
> >> index fcc5e8c08973..9fae8e396c58 100644
> >> --- a/drivers/gpio/gpio-virtio.c
> >> +++ b/drivers/gpio/gpio-virtio.c
> >> @@ -653,7 +653,6 @@ static struct virtio_driver virtio_gpio_driver = {
> >> .remove = virtio_gpio_remove,
> >> .driver = {
> >> .name = KBUILD_MODNAME,
> >> - .owner = THIS_MODULE,
> >> },
> >> };
> >> module_virtio_driver(virtio_gpio_driver);
> >>
> >> --
> >> 2.34.1
> >>
> >
> > Applied, thanks!
>
> I expressed dependency in two places: cover letter and this patch.
> Please drop it, because without dependency this won't work. Patch could
> go with the dependency and with your ack or next cycle.
>
> Best regards,
> Krzysztof
>

Dropped, and:

Acked-by: Bartosz Golaszewski <[email protected]>