In file included from /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:81: /var/pisi/module-broadcom-wl-6.30.223.271-92/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:196, from ./include/linux/netdevice.h:38, from /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/include/linuxver.h:69, from /var/pisi/module-broadcom-wl-6.30.223.271-92/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:294, from ./include/linux/bitmap.h:11, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/paravirt.h:17, 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-92/work/x86_64/src/include/linuxver.h:40: /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_attach’: /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:641:43: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 641 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:662:27: note: in definition of macro ‘__fortify_memcpy_chk’ 662 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/pisi/module-broadcom-wl-6.30.223.271-92/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-92/work/x86_64/src/wl/sys/wl_linux.c:641:9: note: in expansion of macro ‘bcopy’ 641 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:641:43: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 641 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:662:27: note: in definition of macro ‘__fortify_memcpy_chk’ 662 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/pisi/module-broadcom-wl-6.30.223.271-92/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-92/work/x86_64/src/wl/sys/wl_linux.c:641:9: note: in expansion of macro ‘bcopy’ 641 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’: /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:780:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 780 | if ((val & 0x0000ff00) != 0) | ^~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:782:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 782 | bar1_size = pci_resource_len(pdev, 2); | ^~~~~~~~~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’: /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:1838:31: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1838 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:662:27: note: in definition of macro ‘__fortify_memcpy_chk’ 662 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/pisi/module-broadcom-wl-6.30.223.271-92/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-92/work/x86_64/src/wl/sys/wl_linux.c:1838:9: note: in expansion of macro ‘bcopy’ 1838 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:1838:31: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 1838 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:662:27: note: in definition of macro ‘__fortify_memcpy_chk’ 662 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/pisi/module-broadcom-wl-6.30.223.271-92/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-92/work/x86_64/src/wl/sys/wl_linux.c:1838:9: note: in expansion of macro ‘bcopy’ 1838 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ In file included from /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_cfg80211_hybrid.c:43: /var/pisi/module-broadcom-wl-6.30.223.271-92/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-92/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-92/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-92/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:49, from ./include/linux/mm_types.h:16, from ./include/linux/buildid.h:5, from ./include/linux/module.h:14: /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c: In function ‘wl_down’: ./include/linux/workqueue.h:639:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 639 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/pisi/module-broadcom-wl-6.30.223.271-92/work/x86_64/src/wl/sys/wl_linux.c:1482:25: note: in expansion of macro ‘flush_scheduled_work’ 1482 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~