diff options
author | Dan Carpenter <[email protected]> | 2022-11-15 16:09:55 +0300 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-11-17 14:29:52 +0100 |
commit | b4b221bd79a1c698d9653e3ae2c3cb61cdc9aee7 (patch) | |
tree | 582f6a9032f29bf054ea0c57e1777eb632d8b088 /drivers/platform/x86/intel/pmc | |
parent | b2e44aac91b25abbed57d785089c4b7af926a7bd (diff) |
net: ethernet: renesas: Fix return type in rswitch_etha_wait_link_verification()
The rswitch_etha_wait_link_verification() is supposed to return zero
on success or negative error codes. Unfortunately it is declared as a
bool so the caller treats everything as success.
Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Yoshihiro Shimoda <[email protected]>
Link: https://lore.kernel.org/r/Y3OPo6AOL6PTvXFU@kili
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmc')
0 files changed, 0 insertions, 0 deletions