diff options
author | Zhang Changzhong <[email protected]> | 2020-11-19 21:30:21 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-19 21:49:01 -0800 |
commit | 3383176efc0fb0c0900a191026468a58668b4214 (patch) | |
tree | 77184609821d03ded5852f9ad1ee524859768a6c /lib/test_fortify/write_overflow-strcpy.c | |
parent | b5f796b62c98cd8c219c4b788ecb6e1218e648cb (diff) |
bnxt_en: fix error return code in bnxt_init_board()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Changzhong <[email protected]>
Reviewed-by: Edwin Peer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions