On Fri, Dec 23, 2022 at 12:48:46PM +1100, Benjamin Herrenschmidt wrote: > 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.
For all the patches Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>... Thank you for fixing the issues! Daniel PS I will add missing SOB on your behalf to the last patch. I hope this is not big deal... _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel