Re: [PATCH v3 1/2] drivers: fwnode: Extend device_get_match_data() to struct bus_type

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

 



On Wed, Aug 02, 2023 at 06:32:18AM +0000, Biju Das wrote:
> > On Tue, Aug 01, 2023 at 06:03:17PM +0100, Biju Das wrote:

...

> >  *
> >  * Besides the fact that some drivers abuse the device ID driver_data
> > type
> >  * and claim it to be integer, for the bus specific ID tables the
> > driver_data
> >  * may be defined as kernel_ulong_t. For these tables 0 is a valid
> > response,
> >  * but not for this function. It's recommended to covert those either to
> 
> Will fix the typo covert->convert

Thank you!

> > avoid
> >  * 0 or use a real pointer to the predefined driver data.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux