diff options
author | Randy Dunlap <[email protected]> | 2022-02-23 19:35:28 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-02-25 08:53:13 -0800 |
commit | 50e06ddceeea263f57fe92baa677c638ecd65bb6 (patch) | |
tree | 5c776901f9e606516cade2895fc8988987599ac3 /net/lapb/lapb_iface.c | |
parent | b3a34dc362c03215031b268fcc0b988e69490231 (diff) |
net: sxgbe: fix return value of __setup handler
__setup() handlers should return 1 on success, i.e., the parameter
has been handled. A return of 0 causes the "option=value" string to be
added to init's environment strings, polluting it.
Fixes: acc18c147b22 ("net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe")
Fixes: 1edb9ca69e8a ("net: sxgbe: add basic framework for Samsung 10Gb ethernet driver")
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: Igor Zhbanov <[email protected]>
Link: lore.kernel.org/r/[email protected]
Cc: Siva Reddy <[email protected]>
Cc: Girish K S <[email protected]>
Cc: Byungho An <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions