opnsense-src/sys/dev/cxgbe/cudbg
Dimitry Andric fb0493d559 Fix clang 15 warning in cxgbe
Clang 15 warns:

    sys/dev/cxgbe/cudbg/cudbg_lib.c:2949:6: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
            int i = 0;
                ^

Apparently 'i' was meant as the current retry counter, but '1' was used
in the while loop comparison instead, making the loop potentially
infinite, if 'busy' never gets reset.

MFC after:	3 days
Reviewed by:	np
Differential Revision: https://reviews.freebsd.org/D35834
2022-07-17 19:57:03 +02:00
..
cudbg.h cxgbe(4): Fix a typo in a source code comment 2022-03-28 19:28:15 +02:00
cudbg_common.c
cudbg_entity.h
cudbg_flash_utils.c
cudbg_lib.c Fix clang 15 warning in cxgbe 2022-07-17 19:57:03 +02:00
cudbg_lib.h
cudbg_lib_common.h
cudbg_wtp.c cxgbe(4): Fix a typo in a source code comment 2022-04-02 15:19:59 +02:00
fastlz.c
fastlz.h
fastlz_api.c cxgbe(4): Fix "set but not used [-Wunused-but-set-variable]" warnings. 2022-01-10 12:15:12 -08:00