grub-devel
[Top][All Lists]
Advanced

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

[PATCH 0/3] serial: Cleanup & fix port discovery


From: Benjamin Herrenschmidt
Subject: [PATCH 0/3] serial: Cleanup & fix port discovery
Date: Fri, 23 Dec 2022 12:48:46 +1100

This series cleans up a few things in serial port discovery
and fixes detection of duplicates in some cases:

 - Existing usage of memcmp to compare strings is replaces
   with strncmp

 - Don't lookup ports by name right after creating them,
   just return the pointer instead.

 - Move the detection of duplicates *into* the various port
   creation functions. At this point, the various attributes
   such as port number and address have been properly parsed
   and there is no confusion between things like wether a
   0x prefix is present or not for example, or wether hex
   digits are upper or lower case.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]