> > size_t here or at least unsigned int is more correct. > > > for_each_acpi_dev_match(adev, hid, NULL, -1) > > dev_num++; > > > > return dev_num; > > } > > Otherwise, yes, that's what I have in mind. > > > Will test it in next few days. > > -- > With Best Regards, > Andy Shevchenko > Thanks for the review. I've modified the v2 patch accordingly. Regards, Brent