You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)
make
make -C /lib/modules/5.14.0-427.33.1.el9_4.x86_64/build M=/home/cyc/open-nic-driver modules
make[1]: Entering directory '/usr/src/kernels/5.14.0-427.33.1.el9_4.x86_64'
CC [M] /home/cyc/open-nic-driver/onic_netdev.o
/home/cyc/open-nic-driver/onic_netdev.c: In function ‘onic_rx_poll’:
/home/cyc/open-nic-driver/onic_netdev.c:257:25: error: implicit declaration of function ‘napi_reschedule’; did you mean ‘napi_schedule’? [-Werror=implicit-function-declaration]
257 | napi_reschedule(napi);
| ^~~~~~~~~~~~~~~
| napi_schedule
/home/cyc/open-nic-driver/onic_netdev.c: In function ‘onic_init_rx_queue’:
/home/cyc/open-nic-driver/onic_netdev.c:561:9: error: too many arguments to function ‘netif_napi_add’
561 | netif_napi_add(dev, &q->napi, onic_rx_poll, 64);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/etherdevice.h:21,
from /home/cyc/open-nic-driver/onic_netdev.c:19:
./include/linux/netdevice.h:2732:1: note: declared here
2732 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:299: /home/cyc/open-nic-driver/onic_netdev.o] Error 1
make[1]: *** [Makefile:1936: /home/cyc/open-nic-driver] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-427.33.1.el9_4.x86_64'
make: *** [Makefile:32: all] Error 2
The text was updated successfully, but these errors were encountered:
uname -r
5.14.0-427.33.1.el9_4.x86_64
cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)
make
make -C /lib/modules/5.14.0-427.33.1.el9_4.x86_64/build M=/home/cyc/open-nic-driver modules
make[1]: Entering directory '/usr/src/kernels/5.14.0-427.33.1.el9_4.x86_64'
CC [M] /home/cyc/open-nic-driver/onic_netdev.o
/home/cyc/open-nic-driver/onic_netdev.c: In function ‘onic_rx_poll’:
/home/cyc/open-nic-driver/onic_netdev.c:257:25: error: implicit declaration of function ‘napi_reschedule’; did you mean ‘napi_schedule’? [-Werror=implicit-function-declaration]
257 | napi_reschedule(napi);
| ^~~~~~~~~~~~~~~
| napi_schedule
/home/cyc/open-nic-driver/onic_netdev.c: In function ‘onic_init_rx_queue’:
/home/cyc/open-nic-driver/onic_netdev.c:561:9: error: too many arguments to function ‘netif_napi_add’
561 | netif_napi_add(dev, &q->napi, onic_rx_poll, 64);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/etherdevice.h:21,
from /home/cyc/open-nic-driver/onic_netdev.c:19:
./include/linux/netdevice.h:2732:1: note: declared here
2732 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:299: /home/cyc/open-nic-driver/onic_netdev.o] Error 1
make[1]: *** [Makefile:1936: /home/cyc/open-nic-driver] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-427.33.1.el9_4.x86_64'
make: *** [Makefile:32: all] Error 2
The text was updated successfully, but these errors were encountered: