Emit WARNING for the cmdline options that exist multiple times
authorAlexander Popov <alex.popov@linux.com>
Sat, 15 Jul 2023 22:45:44 +0000 (01:45 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sat, 15 Jul 2023 22:45:44 +0000 (01:45 +0300)
commit88c0698ea5b5b1455ab6c52a9915d2bbcc00ee8b
treeac63abf747add8d32ad719004a6aaddc1148df65
parentbe0bde214733f361cecb0c13d313eb019b2d4086
Emit WARNING for the cmdline options that exist multiple times

Don't emit ERROR here. Even GitHub Actions machines have repeated options
in /proc/cmdline.

Also see the comment in cmdline parsing for x86:
https://elixir.bootlin.com/linux/v5.16.7/source/arch/x86/boot/cmdline.c#L21
```
In accordance with standard Linux practice, if this option is repeated,
this returns the last instance on the command line.
```
kconfig_hardened_check/__init__.py