.pylintrc: warning: ignored by one of the .gitignore files .pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: ../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); | ^~~~ In file included from ../include/linux/skbuff.h:41, from ../include/net/net_namespace.h:43, from ../include/linux/netdevice.h:38, from ../include/trace/events/xdp.h:8, from ../include/linux/bpf_trace.h:5, from ../include/net/libeth/xdp.h:7: ../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) | ~~~~~~~~~~~~~^~~~ In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: ../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); | ^~~~ In file included from ../include/linux/skbuff.h:41, from ../include/net/net_namespace.h:43, from ../include/linux/netdevice.h:38, from ../include/trace/events/xdp.h:8, from ../include/linux/bpf_trace.h:5, from ../include/net/libeth/xdp.h:7: ../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) | ~~~~~~~~~~~~~^~~~ In file included from ../include/net/libeth/xsk.h:7, from ../drivers/net/ethernet/intel/libeth/xsk.c:8: ../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: ../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); | ^~~~ In file included from ../include/linux/skbuff.h:41, from ../include/net/net_namespace.h:43, from ../include/linux/netdevice.h:38, from ../include/trace/events/xdp.h:8, from ../include/linux/bpf_trace.h:5, from ../include/net/libeth/xdp.h:7: ../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) | ~~~~~~~~~~~~~^~~~ New errors added --- /tmp/tmp.T0EQjsRdy6 2025-07-14 07:34:30.361868877 -0700 +++ /tmp/tmp.jMYrKsp3EB 2025-07-14 07:35:47.518680938 -0700 @@ -1,0 +2,43 @@ +In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: +../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: +../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] + 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); + | ^~~~ +In file included from ../include/linux/skbuff.h:41, + from ../include/net/net_namespace.h:43, + from ../include/linux/netdevice.h:38, + from ../include/trace/events/xdp.h:8, + from ../include/linux/bpf_trace.h:5, + from ../include/net/libeth/xdp.h:7: +../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ + 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) + | ~~~~~~~~~~~~~^~~~ +In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: +../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: +../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] + 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); + | ^~~~ +In file included from ../include/linux/skbuff.h:41, + from ../include/net/net_namespace.h:43, + from ../include/linux/netdevice.h:38, + from ../include/trace/events/xdp.h:8, + from ../include/linux/bpf_trace.h:5, + from ../include/net/libeth/xdp.h:7: +../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ + 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) + | ~~~~~~~~~~~~~^~~~ +In file included from ../include/net/libeth/xsk.h:7, + from ../drivers/net/ethernet/intel/libeth/xsk.c:8: +../include/net/libeth/xdp.h: In function ‘libeth_xdp_prepare_buff’: +../include/net/libeth/xdp.h:1295:44: warning: passing argument 1 of ‘pp_page_to_nmdesc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] + 1295 | pp_page_to_nmdesc(page)->pp->p.offset, len, true); + | ^~~~ +In file included from ../include/linux/skbuff.h:41, + from ../include/net/net_namespace.h:43, + from ../include/linux/netdevice.h:38, + from ../include/trace/events/xdp.h:8, + from ../include/linux/bpf_trace.h:5, + from ../include/net/libeth/xdp.h:7: +../include/net/netmem.h:270:66: note: expected ‘struct page *’ but argument is of type ‘const struct page *’ + 270 | static inline struct netmem_desc *pp_page_to_nmdesc(struct page *page) + | ~~~~~~~~~~~~~^~~~ Per-file breakdown --- /tmp/tmp.gLwrih3md4 2025-07-14 07:35:47.524771355 -0700 +++ /tmp/tmp.nlzNaPsfSF 2025-07-14 07:35:47.528771332 -0700 @@ -0,0 +1 @@ + 3 ../include/net/libeth/xdp.h