Re: [RESEND net-next v2 00/12]drivers: net: convert tasklets to use new tasklet_setup() API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2020-09-14 at 13:01 +0530, Allen Pais wrote:
> From: Allen Pais <apais@xxxxxxxxxxxxxxxxxxx>
> 
> 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.





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux