opnsense-src/sys/dev/cxgbe/cudbg
Dimitry Andric fde05f9864 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

(cherry picked from commit fb0493d559)
2022-07-20 18:51:15 +02:00
..
cudbg.h cxgbe(4): Fix a typo in a source code comment 2022-04-02 15:29:40 +02:00
cudbg_common.c
cudbg_entity.h
cudbg_flash_utils.c
cudbg_lib.c Fix clang 15 warning in cxgbe 2022-07-20 18:51:15 +02:00
cudbg_lib.h
cudbg_lib_common.h
cudbg_wtp.c cxgbe(4): Fix a typo in a source code comment 2022-04-09 08:13:42 +02:00
fastlz.c
fastlz.h
fastlz_api.c cxgbe(4): Fix "set but not used [-Wunused-but-set-variable]" warnings. 2022-03-02 13:25:55 -08:00