Re: [PATCH v3 3/8] platform/x86: serdev_helpers: Check for serial_ctrl_uid == NULL

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

 



On Thu, Dec 5, 2024 at 12:32 PM Ilpo Järvinen
<ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
> On Thu, 5 Dec 2024, Andy Shevchenko wrote:
> > On Wed, Dec 04, 2024 at 09:42:14PM +0100, Hans de Goede wrote:

...

> > > +                  serial_ctrl_hid, serial_ctrl_uid ?: "*");
> >
> > Not sure about '*' as it would mean 'any', perhaps 'none', '-', or 'undefined'
> > would be better, but since they are error messages, it's not so critical.
>
> Isn't not checking _UID (in acpi_dev_get_first_match_dev()) same as "any"
> _UID?

Ah, good point!

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux