Re: verbs_match_ent device field uninitialised with new driver id matching

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

 



On Thu, Jul 25, 2019 at 11:06:11PM +0530, Potnuri Bharat Teja wrote:
> Hi Jason,
> 0c3cecfe04d (verbs: Use CHARDEV info from netlink to bind drivers)
> With above commit, `device and vendor` fields of verbs_match_entry are left 
> unintialised as match_driver_id succeeds always. This has broken user space 
> cxgb4 iwarp as it uses `device` to get the chipversion. I am sending a patch 
> to fix it in cxgb4 But I wanted to know if device and vendor fields being 0 
> is as expected. 

Yes, only PCI matches use these fields, all other match types have
them as zero.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux