Merge tag 'trace-v5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / drivers / acpi / acpi_pnp.c
index 4ed755a..8f2dc17 100644 (file)
@@ -319,6 +319,9 @@ static bool matching_id(const char *idstr, const char *list_id)
 {
        int i;
 
+       if (strlen(idstr) != strlen(list_id))
+               return false;
+
        if (memcmp(idstr, list_id, 3))
                return false;