Only patch maybe invalid in this case and here are now many
kernel with extra version string (e.g. -ac).
This commit is contained in:
parent
94dcc24d52
commit
2330717a5f
|
@ -1258,8 +1258,6 @@ static void decode_version (char *buf, int *version,
|
|||
|
||||
if (*buf != '\0' && strncmp(buf, "-pre", 4) && strncmp(buf, "pre", 3)) /* ignore any "-preX" part */
|
||||
{
|
||||
*version =
|
||||
*modification =
|
||||
*patch = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue