Commit b8fa10d
scsi: aha152x: Fix aha152x_setup() __setup handler return value
[ Upstream commit cc8294e ]
__setup() handlers should return 1 if the command line option is handled
and 0 if not (or maybe never return 0; doing so just pollutes init's
environment with strings that are not init arguments/parameters).
Return 1 from aha152x_setup() to indicate that the boot option has been
handled.
Link: lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Cc: "Juergen E. Fischer" <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Reported-by: Igor Zhbanov <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent 556ec50 commit b8fa10d
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3370 | 3370 | | |
3371 | 3371 | | |
3372 | 3372 | | |
3373 | | - | |
| 3373 | + | |
3374 | 3374 | | |
3375 | 3375 | | |
3376 | | - | |
| 3376 | + | |
3377 | 3377 | | |
3378 | | - | |
3379 | | - | |
3380 | 3378 | | |
3381 | 3379 | | |
3382 | 3380 | | |
| |||
0 commit comments