[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87508263-99f1-c56a-5fb1-2f4700b6b375@linux.microsoft.com>
Date: Tue, 15 Sep 2020 09:42:51 +0530
From: Allen Pais <apais@...ux.microsoft.com>
To: Saeed Mahameed <saeedm@...dia.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"allen.lkml@...il.com" <allen.lkml@...il.com>
Cc: "m.grzeschik@...gutronix.de" <m.grzeschik@...gutronix.de>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"woojung.huh@...rochip.com" <woojung.huh@...rochip.com>,
"petkan@...leusys.com" <petkan@...leusys.com>,
"oliver@...kum.org" <oliver@...kum.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kuba@...nel.org" <kuba@...nel.org>,
"UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>,
"paulus@...ba.org" <paulus@...ba.org>,
"linux-ppp@...r.kernel.org" <linux-ppp@...r.kernel.org>
Subject: Re: [RESEND net-next v2 00/12]drivers: net: convert tasklets to use
new tasklet_setup() API
>>
>> ommit 12cc923f1ccc ("tasklet: Introduce new initialization API")'
>> introduced a new tasklet initialization API. This series converts
>> all the net/* drivers to use the new tasklet_setup() API
>>
>> This series is based on v5.9-rc5
>>
>> Allen Pais (12):
>> net: mvpp2: Prepare to use the new tasklet API
>> net: arcnet: convert tasklets to use new tasklet_setup() API
>> net: caif: convert tasklets to use new tasklet_setup() API
>> net: ifb: convert tasklets to use new tasklet_setup() API
>> net: ppp: convert tasklets to use new tasklet_setup() API
>> net: cdc_ncm: convert tasklets to use new tasklet_setup() API
>> net: hso: convert tasklets to use new tasklet_setup() API
>> net: lan78xx: convert tasklets to use new tasklet_setup() API
>> net: pegasus: convert tasklets to use new tasklet_setup() API
>> net: r8152: convert tasklets to use new tasklet_setup() API
>> net: rtl8150: convert tasklets to use new tasklet_setup() API
>> net: usbnet: convert tasklets to use new tasklet_setup() API
>>
>>
>
> You are only converting drivers which are passing the taskelt struct as
> data ptr, most of other drivers are passing the container of the
> tasklet as data, why not convert them as well, and let them use
> container_of to find their data ? it is really straight forward and
> will help convert most of net driver if not all.
>
from_tasklet uses container_of internally. use of container_of is
avoided cause it end being really long.
Powered by blists - more mailing lists