diff options
author | Dan Carpenter <error27@gmail.com> | 2022-11-15 16:09:55 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-17 16:29:52 +0300 |
commit | b4b221bd79a1c698d9653e3ae2c3cb61cdc9aee7 (patch) | |
tree | 582f6a9032f29bf054ea0c57e1777eb632d8b088 /drivers/gpu/drm/amd/amdkfd/kfd_events.c | |
parent | b2e44aac91b25abbed57d785089c4b7af926a7bd (diff) | |
download | linux-b4b221bd79a1c698d9653e3ae2c3cb61cdc9aee7.tar.xz |
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 <dan.carpenter@oracle.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/Y3OPo6AOL6PTvXFU@kili
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_events.c')
0 files changed, 0 insertions, 0 deletions