commit | 26658f6bdb65ff192ff9b4b7ed9f3408d74ceeea | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Nov 14 21:07:14 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 16 12:50:57 2019 -0800 |
tree | 4dcdf6d182855569479de241275bd2a1191f93c0 | |
parent | 3e19d1f2654ffd0e379c0f4ba30424bb57ed8acc [diff] |
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>