Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/zte/dinghai/en_pf.c:98:5: warning: no previous prototype for function 'zxdh_pf_pci_find_capability' [-Wmissing-prototypes] 98 | int zxdh_pf_pci_find_capability(struct pci_dev *pdev, u8 cfg_type, | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:98:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 98 | int zxdh_pf_pci_find_capability(struct pci_dev *pdev, u8 cfg_type, | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:129:15: warning: no previous prototype for function 'zxdh_pf_map_capability' [-Wmissing-prototypes] 129 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int off, | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:129:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 129 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int off, | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:205:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:205:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 205 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:203:5: warning: no previous prototype for function 'zxdh_pf_common_cfg_init' [-Wmissing-prototypes] 203 | int zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:203:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 203 | int zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:235:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:235:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 235 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:256:18: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'u32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 256 | cap.length), ¬ify_length); | ^~~~~~~~~~~~~~ ../include/linux/pci.h:1337:70: note: passing argument to parameter 'val' here 1337 | int pci_read_config_dword(const struct pci_dev *dev, int where, u32 *val); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:259:18: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'u32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 259 | cap.offset), ¬ify_offset); | ^~~~~~~~~~~~~~ ../include/linux/pci.h:1337:70: note: passing argument to parameter 'val' here 1337 | int pci_read_config_dword(const struct pci_dev *dev, int where, u32 *val); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:233:5: warning: no previous prototype for function 'zxdh_pf_notify_cfg_init' [-Wmissing-prototypes] 233 | int zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:233:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 233 | int zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:285:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:285:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 285 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:283:5: warning: no previous prototype for function 'zxdh_pf_device_cfg_init' [-Wmissing-prototypes] 283 | int zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:283:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 283 | int zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:314:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:314:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 314 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:312:6: warning: no previous prototype for function 'zxdh_pf_modern_cfg_uninit' [-Wmissing-prototypes] 312 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:312:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 312 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:326:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:326:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 326 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:324:5: warning: no previous prototype for function 'zxdh_pf_modern_cfg_init' [-Wmissing-prototypes] 324 | int zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 324 | int zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:361:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:361:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 361 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:358:5: warning: no previous prototype for function 'zxdh_pf_get_queue_notify_off' [-Wmissing-prototypes] 358 | u16 zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:358:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 358 | u16 zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:375:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:375:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 375 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:371:15: warning: no previous prototype for function 'zxdh_pf_map_vq_notify' [-Wmissing-prototypes] 371 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:371:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 371 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:404:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:404:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] 404 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/zte/dinghai/en_pf.c:402:6: warning: no previous prototype for function 'zxdh_pf_unmap_vq_notify' [-Wmissing-prototypes] 402 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) | ^ ../drivers/net/ethernet/zte/dinghai/en_pf.c:402:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 402 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) | ^ | static ../drivers/net/ethernet/zte/dinghai/en_pf.c:412:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 10 warnings and 20 errors generated. make[8]: *** [../scripts/Makefile.build:289: drivers/net/ethernet/zte/dinghai/en_pf.o] Error 1 make[7]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte/dinghai] Error 2 make[6]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte] Error 2 make[5]: *** [../scripts/Makefile.build:548: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:548: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2141: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.ULPByHCyvb 2026-04-30 12:16:00.799534632 -0400 +++ /tmp/tmp.DbJCXqaasY 2026-04-30 12:17:39.111927019 -0400 @@ -1,0 +2,145 @@ +../drivers/net/ethernet/zte/dinghai/en_pf.c:98:5: warning: no previous prototype for function 'zxdh_pf_pci_find_capability' [-Wmissing-prototypes] + 98 | int zxdh_pf_pci_find_capability(struct pci_dev *pdev, u8 cfg_type, + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:98:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 98 | int zxdh_pf_pci_find_capability(struct pci_dev *pdev, u8 cfg_type, + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:129:15: warning: no previous prototype for function 'zxdh_pf_map_capability' [-Wmissing-prototypes] + 129 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int off, + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:129:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 129 | void __iomem *zxdh_pf_map_capability(struct dh_core_dev *dh_dev, int off, + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:205:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 205 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:205:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 205 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:203:5: warning: no previous prototype for function 'zxdh_pf_common_cfg_init' [-Wmissing-prototypes] + 203 | int zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:203:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 203 | int zxdh_pf_common_cfg_init(struct dh_core_dev *dh_dev) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:235:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 235 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:235:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 235 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:256:18: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'u32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types] + 256 | cap.length), ¬ify_length); + | ^~~~~~~~~~~~~~ +../include/linux/pci.h:1337:70: note: passing argument to parameter 'val' here + 1337 | int pci_read_config_dword(const struct pci_dev *dev, int where, u32 *val); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:259:18: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'u32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types] + 259 | cap.offset), ¬ify_offset); + | ^~~~~~~~~~~~~~ +../include/linux/pci.h:1337:70: note: passing argument to parameter 'val' here + 1337 | int pci_read_config_dword(const struct pci_dev *dev, int where, u32 *val); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:233:5: warning: no previous prototype for function 'zxdh_pf_notify_cfg_init' [-Wmissing-prototypes] + 233 | int zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:233:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 233 | int zxdh_pf_notify_cfg_init(struct dh_core_dev *dh_dev) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:285:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 285 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:285:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 285 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:283:5: warning: no previous prototype for function 'zxdh_pf_device_cfg_init' [-Wmissing-prototypes] + 283 | int zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:283:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 283 | int zxdh_pf_device_cfg_init(struct dh_core_dev *dh_dev) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:314:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 314 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:314:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 314 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:312:6: warning: no previous prototype for function 'zxdh_pf_modern_cfg_uninit' [-Wmissing-prototypes] + 312 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:312:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 312 | void zxdh_pf_modern_cfg_uninit(struct dh_core_dev *dh_dev) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:326:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 326 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:326:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 326 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:324:5: warning: no previous prototype for function 'zxdh_pf_modern_cfg_init' [-Wmissing-prototypes] + 324 | int zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 324 | int zxdh_pf_modern_cfg_init(struct dh_core_dev *dh_dev) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:361:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 361 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:361:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 361 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:358:5: warning: no previous prototype for function 'zxdh_pf_get_queue_notify_off' [-Wmissing-prototypes] + 358 | u16 zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:358:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 358 | u16 zxdh_pf_get_queue_notify_off(struct dh_core_dev *dh_dev, + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:375:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 375 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:375:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 375 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:371:15: warning: no previous prototype for function 'zxdh_pf_map_vq_notify' [-Wmissing-prototypes] + 371 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:371:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 371 | void __iomem *zxdh_pf_map_vq_notify(struct dh_core_dev *dh_dev, + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:404:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 404 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:404:25: error: incompatible integer to pointer conversion initializing 'struct zxdh_pf_device *' with an expression of type 'int' [-Wint-conversion] + 404 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/zte/dinghai/en_pf.c:402:6: warning: no previous prototype for function 'zxdh_pf_unmap_vq_notify' [-Wmissing-prototypes] + 402 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) + | ^ +../drivers/net/ethernet/zte/dinghai/en_pf.c:402:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 402 | void zxdh_pf_unmap_vq_notify(struct dh_core_dev *dh_dev, void *priv) + | ^ + | static +../drivers/net/ethernet/zte/dinghai/en_pf.c:412:34: error: call to undeclared function 'dh_core_priv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 412 | struct zxdh_pf_device *pf_dev = dh_core_priv(dh_dev); + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +10 warnings and 20 errors generated. +make[8]: *** [../scripts/Makefile.build:289: drivers/net/ethernet/zte/dinghai/en_pf.o] Error 1 +make[7]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte/dinghai] Error 2 +make[6]: *** [../scripts/Makefile.build:548: drivers/net/ethernet/zte] Error 2 +make[5]: *** [../scripts/Makefile.build:548: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:548: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 +make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2141: .] Error 2 +make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.D9y4LrTyv6 2026-04-30 12:17:39.115926995 -0400 +++ /tmp/tmp.ULr3YbMXvN 2026-04-30 12:17:39.117926982 -0400 @@ -0,0 +1 @@ + 29 ../drivers/net/ethernet/zte/dinghai/en_pf.c