Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof...
[linux-block.git] / scripts / mod / modpost.c
index 5cddf76239453ee14ae597796ba389af8c78e452..d4531d09984de2322a025b30f5def4c033f3cbe1 100644 (file)
@@ -1727,7 +1727,7 @@ static void extract_crcs_for_object(const char *object, struct module *mod)
                if (!isdigit(*p))
                        continue;       /* skip this line */
 
-               crc = strtol(p, &p, 0);
+               crc = strtoul(p, &p, 0);
                if (*p != '\n')
                        continue;       /* skip this line */