CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c: In function ‘wctdm_check_battery_lost’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c:1966:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1966 | mod_hooksig(wc, mod, DAHDI_RXSIG_ONHOOK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c:1968:9: note: here
1968 | case BATTERY_PRESENT:
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c: In function ‘wctdm_check_battery_present’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c:2076:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
2076 | mod_hooksig(wc, mod, DAHDI_RXSIG_OFFHOOK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/base.c:2078:9: note: here
2078 | case BATTERY_LOST:
| ^~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/xhfc.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wctdm24xxp/wctdm24xxp.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/voicebus.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/GpakCust.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/GpakApi.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/voicebus_net.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/vpmoct.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/voicebus/dahdi_voicebus.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcb4xxp/base.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcb4xxp/wcb4xxp.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-core.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-core.c: In function ‘xbus_check_unique’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-core.c:122:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘label’ will never be NULL [-Waddress]
122 | if (xbus->label && *(xbus->label)) {
| ^~~~
In file included from /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-core.c:39:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-core.h:187:14: note: ‘label’ declared here
187 | char label[LABEL_SIZE];
| ^~~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-sysfs.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xbus-pcm.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xframe_queue.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpp_dahdi.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xproto.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_global.o
In file included from /usr/src/linux-headers-6.1.0-13-common/include/linux/kernel.h:29,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/percpu.h:27,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/nospec-branch.h:14,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/paravirt_types.h:40,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/ptrace.h:97,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/math_emu.h:5,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/processor.h:13,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/timex.h:5,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/time.h:60,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/stat.h:19,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/module.h:13,
from /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_global.c:23:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_global.c: In function ‘execute_chip_command’:
/usr/src/linux-headers-6.1.0-13-common/include/linux/printk.h:457:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
457 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ^
/usr/src/linux-headers-6.1.0-13-common/include/linux/printk.h:429:17: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/dahdi_debug.h:38:9: note: in expansion of macro ‘printk’
38 | printk(KERN_ ## level "%s%s-%s: %s/%s: " fmt, #level, \
| ^~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/dahdi_debug.h:77:17: note: in expansion of macro ‘XPD_PRINTK’
77 | XPD_PRINTK(NOTICE, "", xpd, fmt, ## __VA_ARGS__)
| ^~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_global.c:148:17: note: in expansion of macro ‘XPD_NOTICE’
148 | XPD_NOTICE(xpd,
| ^~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_global.c:152:9: note: here
152 | case 'S':
| ^~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/dahdi_debug.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpp.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_fxs.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpd_fxs.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_fxo.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpd_fxo.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_pri.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpd_pri.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_bri.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpd_bri.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/card_echo.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpd_echo.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/xpp_usb.o
VERIFY /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_card_1_30
VERIFY /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_card_2_30
VERIFY /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_card_3_30
VERIFY /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_card_4_30
HOSTCC /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/print_fxo_modes.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/print_fxo_modes.c: In function ‘main’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/print_fxo_modes.c:10:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
10 | int reg16 = 0, reg26 = 0, reg30 = 0, reg31 = 0x20;
| ^~~
HOSTLD /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/print_fxo_modes
GEN /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_fxo_modes
CHECK /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/xpp/init_card_2_30
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c: In function ‘dahdi_seq_show’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:933:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress]
933 | if (s->name)
| ^
In file included from /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:64:
/usr/src/dahdi-linux-3.3.0-rc1/include/dahdi/kernel.h:951:14: note: ‘name’ declared here
951 | char name[40]; /*!< Span name */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:935:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘desc’ will never be NULL [-Waddress]
935 | if (s->desc)
| ^
/usr/src/dahdi-linux-3.3.0-rc1/include/dahdi/kernel.h:952:14: note: ‘desc’ declared here
952 | char desc[80]; /*!< Span description */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:974:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress]
974 | if (chan->name)
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/include/dahdi/kernel.h:427:14: note: ‘name’ declared here
427 | char name[40];
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_hooksig_pvt’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8512:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
8512 | if (chan->txstate != DAHDI_TXSTATE_OFFHOOK) break;
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8528:12: note: here
8528 | case DAHDI_SIG_FXSGS: /* FXS Groundstart */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8539:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
8539 | if (rxsig == DAHDI_RXSIG_START) {
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8547:12: note: here
8547 | case DAHDI_SIG_FXOLS: /* FXO Loopstart */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c: In function ‘dahdi_rbsbits’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8644:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
8644 | if (!(cursig & DAHDI_BBIT)) {
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:8649:13: note: here
8649 | case DAHDI_SIG_EM_E1:
| ^~~~
In file included from /usr/src/linux-headers-6.1.0-13-common/include/linux/string.h:253,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/cpumask.h:5,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/msr.h:11,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/processor.h:22,
from /usr/src/linux-headers-6.1.0-13-common/arch/x86/include/asm/timex.h:5,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/time.h:60,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/stat.h:19,
from /usr/src/linux-headers-6.1.0-13-common/include/linux/module.h:13,
from /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:40:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_process_getaudio_chunk’:
/usr/src/linux-headers-6.1.0-13-common/include/linux/fortify-string.h:59:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
59 | #define __underlying_memset __builtin_memset
| ^
/usr/src/linux-headers-6.1.0-13-common/include/linux/fortify-string.h:337:9: note: in expansion of macro ‘__underlying_memset’
337 | __underlying_memset(p, c, __fortify_size); \
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-13-common/include/linux/fortify-string.h:345:25: note: in expansion of macro ‘__fortify_memset_chk’
345 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \
| ^~~~~~~~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:7950:25: note: in expansion of macro ‘memset’
7950 | memset(txb + 1, txb[0], DAHDI_CHUNKSIZE - 1);
| ^~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:7952:17: note: here
7952 | case DAHDI_CONF_CONF: /* Normal conference mode */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:7953:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
7953 | if (is_pseudo_chan(ms)) /* if pseudo-channel */
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:7976:17: note: here
7976 | case DAHDI_CONF_CONFMON: /* Conference monitor mode */
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_process_putaudio_chunk’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:9082:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
9082 | if (is_pseudo_chan(ms)) /* if a pseudo-channel */
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-base.c:9097:17: note: here
9097 | case DAHDI_CONF_CONFANN: /* Conference with announce */
| ^~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs-chan.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs-chan.c: In function ‘fixed_devfiles_remove’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs-chan.c:384:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
384 | if (d && !IS_ERR(d))
| ^~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs-chan.c:40:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
40 | device_destroy(dahdi_class, MKDEV(DAHDI_MAJOR, num))
| ^~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-sysfs-chan.c:387:25: note: in expansion of macro ‘DEL_DAHDI_DEV’
387 | DEL_DAHDI_DEV(fixed_minors[i].minor);
| ^~~~~~~~~~~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi-version.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_loc.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_eth.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_ethmf.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_ethmf.c: In function ‘ztdethmf_destroy’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_ethmf.c:538:34: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddre ss]
538 | if (z && z->span && z->span->name) {
| ^~
In file included from /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_dynamic_ethmf.c:56:
/usr/src/dahdi-linux-3.3.0-rc1/include/dahdi/kernel.h:951:14: note: ‘name’ declared here
951 | char name[40]; /*!< Span name */
| ^~~~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/dahdi_transcode.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte13xp-base.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte13xp-base.c: In function ‘te13xp_init_one’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte13xp-base.c:2710:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘xb’ will never be NULL [-Waddress]
2710 | if (&wc->xb)
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte13xp-base.c:117:21: note: ‘xb’ declared here
117 | struct wcxb xb;
| ^~
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcxb_spi.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcxb.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcxb_flash.o
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte13xp.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte43x-base.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte43x-base.c: In function ‘t43x_init_one’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte43x-base.c:3524:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘xb’ will never be NULL [-Waddress]
3524 | if (&wc->xb)
| ^
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte43x-base.c:148:21: note: ‘xb’ declared here
148 | struct wcxb xb;
| ^~
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcte43x.o
CC [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.o
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c: In function ‘wcaxx_check_battery_lost’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c:1458:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1458 | mod_hooksig(wc, mod, DAHDI_RXSIG_ONHOOK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c:1460:9: note: here
1460 | case BATTERY_PRESENT:
| ^~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c: In function ‘wcaxx_check_battery_present’:
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c:1569:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1569 | mod_hooksig(wc, mod, DAHDI_RXSIG_OFFHOOK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx-base.c:1571:9: note: here
1571 | case BATTERY_LOST:
| ^~~~
LD [M] /usr/src/dahdi-linux-3.3.0-rc1/drivers/dahdi/wcaxx.o
You must be