mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
__setup() handlers should return 1 to obsolete_checksetup() in init/main.c to indicate that the boot option has been handled. A return of 0 causes the boot option/value to be listed as an Unknown kernel parameter and added to init's (limited) argument or environment strings. Also, error return codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from setup_kmac(). Fixes: |
||
|---|---|---|
| .. | ||
| devices.c | ||
| gpio.c | ||
| irq.c | ||
| Makefile | ||
| Platform | ||
| prom.c | ||
| serial.c | ||
| setup.c | ||
| time.c | ||