In file included from /var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:86:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_iw.h:73: warning: "isprint" redefined
73 | #define isprint(c) bcm_isprint(c)
|
In file included from ./include/linux/string_helpers.h:6,
from ./include/linux/seq_file.h:7,
from ./include/linux/seq_file_net.h:5,
from ./include/net/net_namespace.h:194,
from ./include/linux/netdevice.h:38,
from /var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linuxver.h:69,
from /var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30: note: this is the location of the previous definition
30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
|
In file included from ./include/linux/string.h:390,
from ./include/linux/bitmap.h:13,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/paravirt.h:21,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linuxver.h:40:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:646:43: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
646 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:633:27: note: in definition of macro ‘__fortify_memcpy_chk’
633 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:646:9: note: in expansion of macro ‘bcopy’
646 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:646:43: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
646 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:633:27: note: in definition of macro ‘__fortify_memcpy_chk’
633 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:646:9: note: in expansion of macro ‘bcopy’
646 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:785:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
785 | if ((val & 0x0000ff00) != 0)
| ^~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:787:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
787 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_open’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1097:38: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1097 | OLD_MOD_INC_USE_COUNT;
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1843:31: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1843 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:633:27: note: in definition of macro ‘__fortify_memcpy_chk’
633 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1843:9: note: in expansion of macro ‘bcopy’
1843 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1843:31: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
1843 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:633:27: note: in definition of macro ‘__fortify_memcpy_chk’
633 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1843:9: note: in expansion of macro ‘bcopy’
1843 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1849:40: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1849 | wl->pub->unit));
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_start’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:2239:58: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
2239 | wl->pub->unit));
| ^
In file included from /var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.h:57:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
57 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.c:797:17: note: in expansion of macro ‘WL_DBG’
797 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.c:798:9: note: here
798 | default:
| ^~~~~~~
In file included from ./include/linux/srcu.h:21,
from ./include/linux/notifier.h:16,
from ./arch/x86/include/asm/uprobes.h:13,
from ./include/linux/uprobes.h:52,
from ./include/linux/mm_types.h:16,
from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:7,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:17:
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_down’:
./include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
765 | __warn_flushing_systemwide_wq(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/module-broadcom-wl-6.30.223.271-98/work/x86_64/src/wl/sys/wl_linux.c:1487:25: note: in expansion of macro ‘flush_scheduled_work’
1487 | flush_scheduled_work();
| ^~~~~~~~~~~~~~~~~~~~