diff options
author | Kees Cook <keescook@chromium.org> | 2019-11-15 08:07:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-16 23:50:57 +0300 |
commit | 26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea (patch) | |
tree | 4dcdf6d182855569479de241275bd2a1191f93c0 /drivers/net/ethernet/broadcom/bgmac-bcma.c | |
parent | 3e19d1f2654ffd0e379c0f4ba30424bb57ed8acc (diff) | |
download | linux-26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea.tar.xz |
bnx2x: Remove format_fw_ver_t function casts
The return values for format_fw_ver_t callbacks are supposed to be
"int", not "u8". Ultimately, the top-level caller doesn't actually check
the return value at all, but just clean this all up anyway and fix the
prototypes so that casts are no longer needed.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bgmac-bcma.c')
0 files changed, 0 insertions, 0 deletions