[ti:ti-linux-5.4.y 8676/13425] net/core/sock.c:3092:28: error: 'SCM_REDUNDANT' undeclared
by kernel test robot
Hi WingMan,
FYI, the error/warning still remains.
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y
head: ca222ae72ea37d74141ed53deaa0a07263ef34e8
commit: 37ab3ad1acdc652a6694e6f45e67767a8a80592b [8676/13425] net: socket: pass on redundant net info to sock_recv_errqueue
config: parisc-defconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.4.y
git checkout 37ab3ad1acdc652a6694e6f45e67767a8a80592b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/mm.h:99,
from include/linux/bvec.h:13,
from include/linux/skbuff.h:17,
from include/linux/ip.h:16,
from include/net/ip.h:22,
from include/linux/errqueue.h:6,
from net/core/sock.c:91:
include/asm-generic/pgtable.h: In function 'pte_clear_not_present_full':
arch/parisc/include/asm/pgtable.h:91:9: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]
91 | pte_t old_pte; \
| ^~~~~~~
arch/parisc/include/asm/pgtable.h:316:34: note: in expansion of macro 'set_pte_at'
316 | #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
| ^~~~~~~~~~
include/asm-generic/pgtable.h:201:2: note: in expansion of macro 'pte_clear'
201 | pte_clear(mm, address, ptep);
| ^~~~~~~~~
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_commit':
arch/parisc/include/asm/pgtable.h:91:9: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]
91 | pte_t old_pte; \
| ^~~~~~~
include/asm-generic/pgtable.h:629:2: note: in expansion of macro 'set_pte_at'
629 | set_pte_at(vma->vm_mm, addr, ptep, pte);
| ^~~~~~~~~~
In file included from include/net/inet_sock.h:22,
from include/net/ip.h:27,
from include/linux/errqueue.h:6,
from net/core/sock.c:91:
include/net/sock.h: In function 'sock_recv_redundant_info':
include/net/sock.h:2457:29: error: 'SCM_REDUNDANT' undeclared (first use in this function)
2457 | put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
| ^~~~~~~~~~~~~
include/net/sock.h:2457:29: note: each undeclared identifier is reported only once for each function it appears in
net/core/sock.c: In function 'sock_recv_errqueue':
>> net/core/sock.c:3092:28: error: 'SCM_REDUNDANT' undeclared (first use in this function)
3092 | put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
| ^~~~~~~~~~~~~
vim +/SCM_REDUNDANT +3092 net/core/sock.c
3066
3067 int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len,
3068 int level, int type)
3069 {
3070 struct sock_exterr_skb *serr;
3071 struct sk_buff *skb;
3072 int copied, err;
3073 struct skb_redundant_info *sred;
3074
3075 err = -EAGAIN;
3076 skb = sock_dequeue_err_skb(sk);
3077 if (skb == NULL)
3078 goto out;
3079
3080 copied = skb->len;
3081 if (copied > len) {
3082 msg->msg_flags |= MSG_TRUNC;
3083 copied = len;
3084 }
3085 err = skb_copy_datagram_msg(skb, 0, msg, copied);
3086 if (err)
3087 goto out_free_skb;
3088
3089 sock_recv_timestamp(msg, sk, skb);
3090
3091 sred = skb_redinfo(skb);
> 3092 put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
3093
3094 serr = SKB_EXT_ERR(skb);
3095 put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee);
3096
3097 msg->msg_flags |= MSG_ERRQUEUE;
3098 err = copied;
3099
3100 out_free_skb:
3101 kfree_skb(skb);
3102 out:
3103 return err;
3104 }
3105 EXPORT_SYMBOL(sock_recv_errqueue);
3106
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ld.lld: error: vhost.c:(.text.fixup+0x8): relocation R_ARM_JUMP24 out of range: 51793772 is not in
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Linus Walleij <linus.walleij(a)linaro.org>
CC: Russell King <rmk+kernel(a)armlinux.org.uk>
CC: Ard Biesheuvel <ardb(a)kernel.org>
CC: Abbott Liu <liuwenliang(a)huawei.com>
CC: Florian Fainelli <f.fainelli(a)gmail.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 84196390620ac0e5070ae36af84c137c6216a7dc
commit: 421015713b306e47af95d4d61cdfbd96d462e4cb ARM: 9017/2: Enable KASan for ARM
date: 5 months ago
config: arm-randconfig-r035-20210323 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 14696baaf4c43fe53f738bc292bbe169eed93d5d)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 421015713b306e47af95d4d61cdfbd96d462e4cb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: vhost.c:(.text.fixup+0x8): relocation R_ARM_JUMP24 out of range: 51793772 is not in [-33554432, 33554431]
>> ld.lld: error: socket.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 57213244 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x14): relocation R_ARM_JUMP24 out of range: 51794156 is not in [-33554432, 33554431]
>> ld.lld: error: socket.c:(.text.fixup+0xC): relocation R_ARM_JUMP24 out of range: 57231272 is not in [-33554432, 33554431]
>> ld.lld: error: vhost.c:(.text.fixup+0x1C): relocation R_ARM_JUMP24 out of range: 51795536 is not in [-33554432, 33554431]
ld.lld: error: socket.c:(.text.fixup+0x14): relocation R_ARM_JUMP24 out of range: 57231396 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x24): relocation R_ARM_JUMP24 out of range: 51795636 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x30): relocation R_ARM_JUMP24 out of range: 51796664 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x3C): relocation R_ARM_JUMP24 out of range: 51796748 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x48): relocation R_ARM_JUMP24 out of range: 51797236 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x54): relocation R_ARM_JUMP24 out of range: 51797312 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x5C): relocation R_ARM_JUMP24 out of range: 51808440 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x64): relocation R_ARM_JUMP24 out of range: 51808540 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x70): relocation R_ARM_JUMP24 out of range: 51812344 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x7C): relocation R_ARM_JUMP24 out of range: 51812816 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x88): relocation R_ARM_JUMP24 out of range: 51812964 is not in [-33554432, 33554431]
ld.lld: error: vhost.c:(.text.fixup+0x94): relocation R_ARM_JUMP24 out of range: 51813052 is not in [-33554432, 33554431]
>> ld.lld: error: vhost.c:(.text.fixup+0xA0): relocation R_ARM_JUMP24 out of range: 51815340 is not in [-33554432, 33554431]
>> ld.lld: error: vhost.c:(.text.fixup+0xAC): relocation R_ARM_JUMP24 out of range: 51815428 is not in [-33554432, 33554431]
>> ld.lld: error: vhost.c:(.text.fixup+0xB4): relocation R_ARM_JUMP24 out of range: 51817088 is not in [-33554432, 33554431]
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Información para empresas ABRIL 2021
by info1@foescoformacion.com
IMPORTANTE: (Por favor confirme la recepción de este correo ya que adjunta archivos PDF y en ocasiones no se recibe debido a algunos filtros antispam)
Buenos días
Adjuntamos en PDF el listado de Cursos Bonificables para empleados en activo o en situación de ERTE para la presente convocatoria.
Todos los cursos son Bonificables, se descuentan del Crédito de Formación 2021.
(Si desean consultar su Crédito de Formación 2021 pueden consultarlo con su gestor o bien les podemos mandar el documento de encomienda para poder realizar la consulta a FUNDAE)
INSTRUCCIONES DE SOLICITUD (copiar el enlace y pegar en la barra de búsqueda de internet):
https://www.foesco.com/Ficha-de-incripcion-Foesco-v.81.01c-editable.pdf
https://www.foesco.com/Contrato-de-encomienda-Foesco-81.01-editable.pdf
Se han de cumplimentar únicamente los siguientes datos del IMPRESO DE SOLICITUD (1 impreso por curso) y se ha de mandar escaneado o en fotografía a este mismo correo electrónico.
Curso a realizar
Nombre completo y DNI del alumno
Número de afiliación a la Seguridad Social del alumno (Dato indicado en las nóminas)
Teléfono y e-mail del alumno
Nombre y CIF de la empresa
Dirección de la empresa
Teléfono y e-mail de la empresa
Teléfono y e-mail del gestor de la empresa
Cta. Cotización a la seguridad social de la empresa (Dato indicado en las nóminas)
Año de creación de la empresa
Nombre completo y DNI de un representante legal de la empresa
Quedamos a la espera, cualquier duda la comentamos.
Saludos.
Departamento de Formación Bonificable.
FOESCO Formación Estatal Continua.
Entidad Organizadora: B200592AA
www.foesco.com
e-mail: cursos(a)foesco.net
Tel: 910 323 794
(Horario de 9h a 15h y de 17h a 20h de Lunes a Viernes)
FOESCO ofrece formación a empresas y trabajadores en activo a través de cursos bonificados por la Fundación Estatal para la Formación en el Empleo (antiguo FORCEM) que gestiona las acciones formativas de FORMACIÓN CONTINUA para trabajadores y se rige por la ley 30/2015 de 9 de Septiembre.
Antes de imprimir este e-mail piense bien si es necesario hacerlo. Before printing this e-mail please think twice if you really need it. FOESCO Tfno: 910 382 880 Email: cursos(a)foesco.com. La información transmitida en este mensaje está dirigida solamente a las personas o entidades que figuran en el encabezamiento y contiene información confidencial, por lo que, si usted lo recibiera por error, por favor destrúyalo sin copiarlo, usarlo ni distribuirlo, comunicándolo inmediatamente al emisor del mensaje. De conformidad con lo dispuesto en el Reglamento Europeo del 2016/679, del 27 de Abril de 2016, FOESCO le informa que los datos por usted suministrados serán tratados con las medidas de seguridad conformes a la normativa vigente que se requiere. Dichos datos serán empleados con fines de gestión. Para el ejercicio de sus derechos de transparencia, información, acceso, rectificación, supresión o derecho al olvido, limitación del tratamiento , portabilidad de datos y oposición de sus datos de carácter personal deberá dirigirse a la dirección del Responsable del tratamiento a C/ LAGUNA DEL MARQUESADO Nº10, 28021, MADRID, "PULSANDO AQUI" <mailto:bajas@foesco.com?Subject=BAJA%20CORREOS> y "ENVIAR" o a traves de la dirección de correo electrónico: bajas(a)foesco.com <mailto:bajas@foesco.com?Subject=BAJA%20CORREOS>
1 year, 6 months
[freescale-fslc:5.4-2.3.x-imx 14893/17783] drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
by kernel test robot
Hi Fugang,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head: 6040081cd64b643878babf67a2ae9113f51cf189
commit: f186a4e65f54a28973c743f8c007b18c1ce95be6 [14893/17783] MLK-24962 net: wireless: nxp: mxm_wifiex: upgrade to mxm5x16203 release
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Freescale/linux-fslc/commit/f186a4e65f54a28973c743f8c0...
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
git checkout f186a4e65f54a28973c743f8c007b18c1ce95be6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:37:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'woal_get_mode':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:990:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
990 | int ret = 0;
| ^~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2150:6: warning: no previous prototype for 'woal_request_init_user_conf_callback' [-Wmissing-prototypes]
2150 | void woal_request_init_user_conf_callback(const struct firmware *firmware,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2650:13: warning: no previous prototype for 'woal_add_card_dpc' [-Wmissing-prototypes]
2650 | mlan_status woal_add_card_dpc(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:3355:6: warning: no previous prototype for 'woal_fill_mlan_buffer' [-Wmissing-prototypes]
3355 | void woal_fill_mlan_buffer(moal_private *priv, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4283:6: warning: no previous prototype for 'woal_flush_evt_queue' [-Wmissing-prototypes]
4283 | void woal_flush_evt_queue(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4866:6: warning: no previous prototype for 'woal_ioctl_timeout' [-Wmissing-prototypes]
4866 | void woal_ioctl_timeout(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5172:6: warning: no previous prototype for 'woal_tcp_ack_timer_func' [-Wmissing-prototypes]
5172 | void woal_tcp_ack_timer_func(void *context)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5239:6: warning: no previous prototype for 'woal_send_tcp_ack' [-Wmissing-prototypes]
5239 | void woal_send_tcp_ack(moal_private *priv, struct tcp_sess *tcp_session)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5296:5: warning: no previous prototype for 'woal_process_tcp_ack' [-Wmissing-prototypes]
5296 | int woal_process_tcp_ack(moal_private *priv, mlan_buffer *pmbuf)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8025:5: warning: no previous prototype for 'woal_netdev_poll_rx' [-Wmissing-prototypes]
8025 | int woal_netdev_poll_rx(struct napi_struct *napi, int budget)
| ^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8908:6: warning: no previous prototype for 'woal_pre_reset' [-Wmissing-prototypes]
8908 | void woal_pre_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8926:6: warning: no previous prototype for 'woal_post_reset' [-Wmissing-prototypes]
8926 | void woal_post_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'woal_request_fw_reload':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9019:3: error: implicit declaration of function 'pci_reset_function' [-Werror=implicit-function-declaration]
9019 | pci_reset_function(pdev);
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'mfg_mode_setup':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9387:3: error: 'mfg_mode' undeclared (first use in this function)
9387 | mfg_mode = 1;
| ^~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9387:3: note: each undeclared identifier is reported only once for each function it appears in
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:29:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:36:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c: In function 'moal_print':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:3005:4: warning: function 'moal_print' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
3005 | vprintk(pformat, args);
| ^~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:28:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:48:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:130:13: warning: no previous prototype for 'parse_arguments' [-Wmissing-prototypes]
130 | mlan_status parse_arguments(t_u8 *pos, int *data, int datalen,
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:190:5: warning: no previous prototype for 'string2raw' [-Wmissing-prototypes]
190 | int string2raw(unsigned char *str, unsigned char *raw, int raw_size)
| ^~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:293:13: warning: no previous prototype for 'woal_set_miracast_mode' [-Wmissing-prototypes]
293 | mlan_status woal_set_miracast_mode(moal_private *priv, t_u8 *pdata, size_t len)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:341:5: warning: no previous prototype for 'woal_get_priv_driver_version' [-Wmissing-prototypes]
341 | int woal_get_priv_driver_version(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:570:5: warning: no previous prototype for 'woal_priv_customie' [-Wmissing-prototypes]
570 | int woal_priv_customie(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:633:5: warning: no previous prototype for 'woal_setget_priv_bandcfg' [-Wmissing-prototypes]
633 | int woal_setget_priv_bandcfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:760:5: warning: no previous prototype for 'woal_setget_priv_httxcfg' [-Wmissing-prototypes]
760 | int woal_setget_priv_httxcfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:859:5: warning: no previous prototype for 'woal_setget_priv_htcapinfo' [-Wmissing-prototypes]
859 | int woal_setget_priv_htcapinfo(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:961:5: warning: no previous prototype for 'woal_setget_priv_addbapara' [-Wmissing-prototypes]
961 | int woal_setget_priv_addbapara(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1067:5: warning: no previous prototype for 'woal_priv_delba' [-Wmissing-prototypes]
1067 | int woal_priv_delba(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1163:5: warning: no previous prototype for 'woal_priv_rejectaddbareq' [-Wmissing-prototypes]
1163 | int woal_priv_rejectaddbareq(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1243:13: warning: no previous prototype for 'woal_ioctl_addba_reject' [-Wmissing-prototypes]
1243 | mlan_status woal_ioctl_addba_reject(moal_private *priv, t_u32 action,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1344:13: warning: no previous prototype for 'woal_ioctl_addba_param' [-Wmissing-prototypes]
1344 | mlan_status woal_ioctl_addba_param(moal_private *priv, t_u32 action,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1393:5: warning: no previous prototype for 'woal_set_rx_ba_winsize' [-Wmissing-prototypes]
1393 | int woal_set_rx_ba_winsize(moal_private *priv, t_u8 *respbuf, int respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1472:5: warning: no previous prototype for 'woal_set_tx_ba_winsize' [-Wmissing-prototypes]
1472 | int woal_set_tx_ba_winsize(moal_private *priv, t_u8 *respbuf, int respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1557:5: warning: no previous prototype for 'woal_setget_priv_aggrpriotbl' [-Wmissing-prototypes]
1557 | int woal_setget_priv_aggrpriotbl(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1645:5: warning: no previous prototype for 'woal_setget_priv_addbareject' [-Wmissing-prototypes]
1645 | int woal_setget_priv_addbareject(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1728:5: warning: no previous prototype for 'woal_setget_priv_vhtcfg' [-Wmissing-prototypes]
1728 | int woal_setget_priv_vhtcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1883:5: warning: no previous prototype for 'woal_setget_priv_opermodecfg' [-Wmissing-prototypes]
1883 | int woal_setget_priv_opermodecfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1966:5: warning: no previous prototype for 'woal_get_priv_datarate' [-Wmissing-prototypes]
1966 | int woal_get_priv_datarate(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2016:5: warning: no previous prototype for 'woal_setget_priv_txratecfg' [-Wmissing-prototypes]
2016 | int woal_setget_priv_txratecfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_get_stats_info':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2229:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2229 | int ret = 0;
| ^~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2281:5: warning: no previous prototype for 'woal_get_priv_getlog' [-Wmissing-prototypes]
2281 | int woal_get_priv_getlog(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2321:5: warning: no previous prototype for 'woal_setget_priv_esuppmode' [-Wmissing-prototypes]
2321 | int woal_setget_priv_esuppmode(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2411:5: warning: no previous prototype for 'woal_setget_priv_passphrase' [-Wmissing-prototypes]
2411 | int woal_setget_priv_passphrase(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2616:5: warning: no previous prototype for 'woal_priv_deauth' [-Wmissing-prototypes]
2616 | int woal_priv_deauth(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2833:5: warning: no previous prototype for 'woal_priv_bssrole' [-Wmissing-prototypes]
2833 | int woal_priv_bssrole(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2914:5: warning: no previous prototype for 'woal_priv_setuserscan' [-Wmissing-prototypes]
2914 | int woal_priv_setuserscan(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2948:5: warning: no previous prototype for 'woal_priv_get_chanstats' [-Wmissing-prototypes]
2948 | int woal_priv_get_chanstats(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2988:5: warning: no previous prototype for 'moal_ret_get_scan_table_ioctl' [-Wmissing-prototypes]
2988 | int moal_ret_get_scan_table_ioctl(t_u8 *respbuf, t_u32 respbuflen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3065:5: warning: no previous prototype for 'woal_priv_getscantable' [-Wmissing-prototypes]
3065 | int woal_priv_getscantable(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3126:5: warning: no previous prototype for 'woal_priv_extcapcfg' [-Wmissing-prototypes]
3126 | int woal_priv_extcapcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:31:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:394:5: warning: no previous prototype for 'woal_pcie_probe' [-Wmissing-prototypes]
394 | int woal_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_pcie_probe':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:441:6: error: implicit declaration of function 'pci_is_enabled'; did you mean 'pci_acs_enabled'? [-Werror=implicit-function-declaration]
441 | if (pci_is_enabled(pdev))
| ^~~~~~~~~~~~~~
| pci_acs_enabled
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:896:13: warning: no previous prototype for 'woal_pcie_write_data_sync' [-Wmissing-prototypes]
896 | mlan_status woal_pcie_write_data_sync(moal_handle *handle, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:912:13: warning: no previous prototype for 'woal_pcie_read_data_sync' [-Wmissing-prototypes]
912 | mlan_status woal_pcie_read_data_sync(moal_handle *handle, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_pcie_init':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1089:8: error: implicit declaration of function 'pci_request_region'; did you mean 'pci_request_regions'? [-Werror=implicit-function-declaration]
1089 | ret = pci_request_region(pdev, 0, DRV_NAME);
| ^~~~~~~~~~~~~~~~~~
| pci_request_regions
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1118:2: error: implicit declaration of function 'pci_release_region'; did you mean 'pci_release_regions'? [-Werror=implicit-function-declaration]
1118 | pci_release_region(pdev, 2);
| ^~~~~~~~~~~~~~~~~~
| pci_release_regions
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_pcie_register_dev':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1174:9: error: implicit declaration of function 'pci_enable_msix_exact' [-Werror=implicit-function-declaration]
1174 | ret = pci_enable_msix_exact(pdev, card->msix_entries, nvec);
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1197:6: error: implicit declaration of function 'pci_disable_msix'; did you mean 'pci_disable_sriov'? [-Werror=implicit-function-declaration]
1197 | pci_disable_msix(pdev);
| ^~~~~~~~~~~~~~~~
| pci_disable_sriov
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1209:9: error: implicit declaration of function 'pci_enable_msi'; did you mean 'pci_enable_ats'? [-Werror=implicit-function-declaration]
1209 | ret = pci_enable_msi(pdev);
| ^~~~~~~~~~~~~~
| pci_enable_ats
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1216:5: error: implicit declaration of function 'pci_disable_msi'; did you mean 'pci_disable_ats'? [-Werror=implicit-function-declaration]
1216 | pci_disable_msi(pdev);
| ^~~~~~~~~~~~~~~
| pci_disable_ats
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1418:5: warning: no previous prototype for 'woal_pcie_dump_reg_info' [-Wmissing-prototypes]
1418 | int woal_pcie_dump_reg_info(moal_handle *phandle, t_u8 *buffer)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1752:13: warning: no previous prototype for 'woal_read_reg_eight_bit' [-Wmissing-prototypes]
1752 | mlan_status woal_read_reg_eight_bit(moal_handle *handle, t_u32 reg, t_u8 *data)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1767:13: warning: no previous prototype for 'woal_pcie_rdwr_firmware' [-Wmissing-prototypes]
1767 | rdwr_status woal_pcie_rdwr_firmware(moal_handle *phandle, t_u8 doneflag)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2013:6: warning: no previous prototype for 'woal_pcie_dump_fw_info_v2' [-Wmissing-prototypes]
2013 | void woal_pcie_dump_fw_info_v2(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2192:6: warning: no previous prototype for 'woal_pcie_dump_fw_info' [-Wmissing-prototypes]
2192 | void woal_pcie_dump_fw_info(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:587:12: warning: 'woal_pcie_resume' defined but not used [-Wunused-function]
587 | static int woal_pcie_resume(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:491:12: warning: 'woal_pcie_suspend' defined but not used [-Wunused-function]
491 | static int woal_pcie_suspend(struct pci_dev *pdev, pm_message_t state)
| ^~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:62,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:31:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +133 drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h
688b67b2c7220b Fugang Duan 2020-04-19 121
688b67b2c7220b Fugang Duan 2020-04-19 122 /** Structure: PCIE service card */
688b67b2c7220b Fugang Duan 2020-04-19 123 typedef struct _pcie_service_card {
688b67b2c7220b Fugang Duan 2020-04-19 124 /** pci_dev structure pointer */
688b67b2c7220b Fugang Duan 2020-04-19 125 struct pci_dev *dev;
688b67b2c7220b Fugang Duan 2020-04-19 126 /** moal_handle structure pointer */
688b67b2c7220b Fugang Duan 2020-04-19 127 moal_handle *handle;
688b67b2c7220b Fugang Duan 2020-04-19 128 /** I/O memory regions pointer to the bus */
688b67b2c7220b Fugang Duan 2020-04-19 129 void __iomem *pci_mmap;
688b67b2c7220b Fugang Duan 2020-04-19 130 /** I/O memory regions pointer to the bus */
688b67b2c7220b Fugang Duan 2020-04-19 131 void __iomem *pci_mmap1;
688b67b2c7220b Fugang Duan 2020-04-19 132 #if defined(PCIE)
688b67b2c7220b Fugang Duan 2020-04-19 @133 struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
688b67b2c7220b Fugang Duan 2020-04-19 134 msix_context msix_contexts[PCIE_NUM_MSIX_VECTORS];
688b67b2c7220b Fugang Duan 2020-04-19 135 #endif
688b67b2c7220b Fugang Duan 2020-04-19 136 } pcie_service_card, *ppcie_service_card;
688b67b2c7220b Fugang Duan 2020-04-19 137
:::::: The code at line 133 was first introduced by commit
:::::: 688b67b2c7220b01521ffe560da7eee33042c7bd MLK-23806-01 net: wireless: nxp: mxm_wifiex: add initial MxM wifi driver
:::::: TO: Fugang Duan <fugang.duan(a)nxp.com>
:::::: CC: Fugang Duan <fugang.duan(a)nxp.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[kas:kvm-unmapped-poison 7/7] arch/s390/kvm/../../../virt/kvm/kvm_main.c:2873:7: error: implicit declaration of function 'TestClearPageHWPoison'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git kvm-unmapped-poison
head: e792cd01c639cc658a27badfd07157668a7a5d53
commit: e792cd01c639cc658a27badfd07157668a7a5d53 [7/7] KVM: unmap guest memory with poison
config: s390-randconfig-r022-20210323 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?id=...
git remote add kas https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git
git fetch --no-tags kas kvm-unmapped-poison
git checkout e792cd01c639cc658a27badfd07157668a7a5d53
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/s390/include/asm/kvm_para.h:25:
In file included from arch/s390/include/asm/diag.h:12:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:10:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:80:
include/asm-generic/io.h:490:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : \
^
include/uapi/linux/swab.h:21:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
^
In file included from arch/s390/kvm/../../../virt/kvm/kvm_main.c:18:
In file included from include/linux/kvm_host.h:32:
In file included from include/linux/kvm_para.h:5:
In file included from include/uapi/linux/kvm_para.h:39:
In file included from arch/s390/include/asm/kvm_para.h:25:
In file included from arch/s390/include/asm/diag.h:12:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:10:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:80:
include/asm-generic/io.h:490:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : \
^
include/uapi/linux/swab.h:22:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0xff000000UL) >> 24)))
^
In file included from arch/s390/kvm/../../../virt/kvm/kvm_main.c:18:
In file included from include/linux/kvm_host.h:32:
In file included from include/linux/kvm_para.h:5:
In file included from include/uapi/linux/kvm_para.h:39:
In file included from arch/s390/include/asm/kvm_para.h:25:
In file included from arch/s390/include/asm/diag.h:12:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:10:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:80:
include/asm-generic/io.h:490:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:120:12: note: expanded from macro '__swab32'
__fswab32(x))
^
In file included from arch/s390/kvm/../../../virt/kvm/kvm_main.c:18:
In file included from include/linux/kvm_host.h:32:
In file included from include/linux/kvm_para.h:5:
In file included from include/uapi/linux/kvm_para.h:39:
In file included from arch/s390/include/asm/kvm_para.h:25:
In file included from arch/s390/include/asm/diag.h:12:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:10:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:80:
include/asm-generic/io.h:501:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:511:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:521:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:609:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:617:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:625:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:634:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:643:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:652:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:2873:7: error: implicit declaration of function 'TestClearPageHWPoison' [-Werror,-Wimplicit-function-declaration]
if (TestClearPageHWPoison(page)) {
^
arch/s390/kvm/../../../virt/kvm/kvm_main.c:2873:7: note: did you mean 'ClearPageHWPoison'?
include/linux/page-flags.h:435:1: note: 'ClearPageHWPoison' declared here
PAGEFLAG_FALSE(HWPoison)
^
include/linux/page-flags.h:323:26: note: expanded from macro 'PAGEFLAG_FALSE'
SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname)
^
include/linux/page-flags.h:311:20: note: expanded from macro 'CLEARPAGEFLAG_NOOP'
static inline void ClearPage##uname(struct page *page) { }
^
<scratch space>:119:1: note: expanded from here
ClearPageHWPoison
^
20 warnings and 1 error generated.
vim +/TestClearPageHWPoison +2873 arch/s390/kvm/../../../virt/kvm/kvm_main.c
2844
2845 int kvm_share_memory(struct kvm *kvm, unsigned long gfn, unsigned long npages)
2846 {
2847 unsigned long end = gfn + npages;
2848
2849 if (!npages)
2850 return 0;
2851
2852 /*
2853 * Out of slots.
2854 * Still worth to proceed: the new range may merge with an existing
2855 * one.
2856 */
2857 WARN_ON_ONCE(kvm->nr_shared_ranges == ARRAY_SIZE(kvm->shared_ranges));
2858
2859 if (mmap_write_lock_killable(kvm->mm))
2860 return -KVM_EINTR;
2861 kvm->nr_shared_ranges = add_range_with_merge(kvm->shared_ranges,
2862 ARRAY_SIZE(kvm->shared_ranges),
2863 kvm->nr_shared_ranges, gfn, end);
2864 kvm->nr_shared_ranges = clean_sort_range(kvm->shared_ranges,
2865 ARRAY_SIZE(kvm->shared_ranges));
2866 mmap_write_unlock(kvm->mm);
2867
2868 for (; gfn < end; gfn++) {
2869 struct page *page = gfn_to_page(kvm, gfn);
2870
2871 if (page == KVM_ERR_PTR_BAD_PAGE)
2872 continue;
> 2873 if (TestClearPageHWPoison(page)) {
2874 lock_page(page);
2875 remove_migration_ptes(page, page, false);
2876 unlock_page(page);
2877 put_page(page);
2878 }
2879 put_page(page);
2880 }
2881
2882 return 0;
2883 }
2884
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[freescale-fslc:pr/296 14383/17782] ld.lld: error: undefined symbol: dw_pcie_link_up
by kernel test robot
tree: https://github.com/Freescale/linux-fslc pr/296
head: bf2acf9f711d9c0ffcee228f6772f4c00be626b8
commit: 61b7aecf354c8e55cffc466be937c184b8aaadb0 [14383/17782] MA-17597-5 pci: controller: dwc: support module build
config: x86_64-randconfig-a005-20210322 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/Freescale/linux-fslc/commit/61b7aecf354c8e55cffc466be9...
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/296
git checkout 61b7aecf354c8e55cffc466be937c184b8aaadb0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: dw_pcie_read_dbi
>>> referenced by pcie-designware.h:293 (drivers/pci/controller/dwc/pcie-designware.h:293)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced by pcie-designware.h:303 (drivers/pci/controller/dwc/pcie-designware.h:303)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced by pcie-designware.h:293 (drivers/pci/controller/dwc/pcie-designware.h:293)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced 20 more times
--
>> ld.lld: error: undefined symbol: dw_pcie_write_dbi
>>> referenced by pcie-designware.h:288 (drivers/pci/controller/dwc/pcie-designware.h:288)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced by pcie-designware.h:298 (drivers/pci/controller/dwc/pcie-designware.h:298)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced by pcie-designware.h:288 (drivers/pci/controller/dwc/pcie-designware.h:288)
>>> pci/controller/dwc/pci-imx6.o:(pci_imx_set_msi_en) in archive drivers/built-in.a
>>> referenced 18 more times
--
>> ld.lld: error: undefined symbol: dw_pcie_link_up
>>> referenced by pci-imx6.c:1961 (drivers/pci/controller/dwc/pci-imx6.c:1961)
>>> pci/controller/dwc/pci-imx6.o:(imx6_pcie_start_link) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dw_pcie_wait_for_link
>>> referenced by pci-imx6.c:1816 (drivers/pci/controller/dwc/pci-imx6.c:1816)
>>> pci/controller/dwc/pci-imx6.o:(imx6_pcie_establish_link) in archive drivers/built-in.a
>>> referenced by pci-imx6.c:1864 (drivers/pci/controller/dwc/pci-imx6.c:1864)
>>> pci/controller/dwc/pci-imx6.o:(imx6_pcie_establish_link) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
decompress.c:undefined reference to `ftrace_likely_update'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 84196390620ac0e5070ae36af84c137c6216a7dc
commit: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type
date: 9 weeks ago
config: mips-randconfig-r014-20210323 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout baec970aa5ba11099ad7a91773350c91fb2113f0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
arch/mips/boot/compressed/decompress.c:38:6: warning: no previous prototype for 'error' [-Wmissing-prototypes]
38 | void error(char *x)
| ^~~~~
In file included from arch/mips/boot/compressed/../../../../lib/decompress_unlz4.c:10,
from arch/mips/boot/compressed/decompress.c:60:
>> arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:484:5: warning: no previous prototype for 'LZ4_decompress_safe_withPrefix64k' [-Wmissing-prototypes]
484 | int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5: warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict' [-Wmissing-prototypes]
506 | int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:81:6: warning: no previous prototype for '__stack_chk_fail' [-Wmissing-prototypes]
81 | void __stack_chk_fail(void)
| ^~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:86:6: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes]
86 | void decompress_kernel(unsigned long boot_heap_start)
| ^~~~~~~~~~~~~~~~~
--
mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `LZ4_decompress_safe_withSmallPrefix':
>> decompress.c:(.text+0xa4): undefined reference to `ftrace_likely_update'
>> mips-linux-ld: decompress.c:(.text+0x114): undefined reference to `ftrace_likely_update'
mips-linux-ld: decompress.c:(.text+0x184): undefined reference to `ftrace_likely_update'
mips-linux-ld: decompress.c:(.text+0x23c): undefined reference to `ftrace_likely_update'
mips-linux-ld: decompress.c:(.text+0x270): undefined reference to `ftrace_likely_update'
mips-linux-ld: arch/mips/boot/compressed/decompress.o:decompress.c:(.text+0x294): more undefined references to `ftrace_likely_update' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot'
by kernel test robot
Hi Cédric,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 84196390620ac0e5070ae36af84c137c6216a7dc
commit: bb21e1b6c5352d62d866e9236ed427f632cd537b powerpc/optprobes: Make patch_imm64_load_insns() static
date: 8 weeks ago
config: powerpc-randconfig-r013-20210323 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bb21e1b6c5352d62d866e9236ed427f632cd537b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' [-Werror,-Wunused-function]
DEFINE_INSN_CACHE_OPS(ppc_optinsn);
^
include/linux/kprobes.h:306:20: note: expanded from macro 'DEFINE_INSN_CACHE_OPS'
static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
^
<scratch space>:95:1: note: expanded from here
is_kprobe_ppc_optinsn_slot
^
1 error generated.
vim +/is_kprobe_ppc_optinsn_slot +34 arch/powerpc/kernel/optprobes.c
51c9c084399352 Anju T 2017-02-08 20
51c9c084399352 Anju T 2017-02-08 21 #define TMPL_CALL_HDLR_IDX \
51c9c084399352 Anju T 2017-02-08 22 (optprobe_template_call_handler - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 23 #define TMPL_EMULATE_IDX \
51c9c084399352 Anju T 2017-02-08 24 (optprobe_template_call_emulate - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 25 #define TMPL_RET_IDX \
51c9c084399352 Anju T 2017-02-08 26 (optprobe_template_ret - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 27 #define TMPL_OP_IDX \
51c9c084399352 Anju T 2017-02-08 28 (optprobe_template_op_address - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 29 #define TMPL_INSN_IDX \
51c9c084399352 Anju T 2017-02-08 30 (optprobe_template_insn - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 31 #define TMPL_END_IDX \
51c9c084399352 Anju T 2017-02-08 32 (optprobe_template_end - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08 33
51c9c084399352 Anju T 2017-02-08 @34 DEFINE_INSN_CACHE_OPS(ppc_optinsn);
51c9c084399352 Anju T 2017-02-08 35
:::::: The code at line 34 was first introduced by commit
:::::: 51c9c0843993528bffc920c54c2121d9e6f8b090 powerpc/kprobes: Implement Optprobes
:::::: TO: Anju T <anju(a)linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <mpe(a)ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months