mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 00:58:21 -05:00
With clang 15, the following -Werror warning is produced:
sys/dev/sfxge/common/ef10_tx.c:345:15: error: variable 'eqp' set but not used [-Werror,-Wunused-but-set-variable]
efx_qword_t *eqp;
^
The 'eqp' variable is passed as an argument to the EFSYS_BAR_WC_WRITEQ()
macro, but currently this macro ignores the argument, similar to its
other _esbp argument. Silence the warning by casting the _eqp argument
to void in the macro.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| common | ||
| sfxge.c | ||
| sfxge.h | ||
| sfxge_dma.c | ||
| sfxge_ev.c | ||
| sfxge_intr.c | ||
| sfxge_ioc.h | ||
| sfxge_mcdi.c | ||
| sfxge_nvram.c | ||
| sfxge_port.c | ||
| sfxge_rx.c | ||
| sfxge_rx.h | ||
| sfxge_tx.c | ||
| sfxge_tx.h | ||
| sfxge_version.h | ||