From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0576946234883542128==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [RFC 1/4] net: mvneta: introduce page pool API for sw buffer manager Date: Tue, 01 Oct 2019 22:11:43 +0800 Message-ID: <201910012223.HilBhEcq%lkp@intel.com> In-Reply-To: <09af2f2263d2b51be7633d7c55db23e41bb3a88c.1569920973.git.lorenzo@kernel.org> List-Id: --===============0576946234883542128== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Lorenzo, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on net/master] [cannot apply to v5.4-rc1 next-20191001] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Lorenzo-Bianconi/add-basic= -XDP-support-to-mvneta-driver/20191001-185919 If you fix the issue, kindly add following tag Reported-by: kbuild test robot coccinelle warnings: (new ones prefixed by >>) >> drivers/net/ethernet/marvell/mvneta.c:2841:9-16: ERROR: PTR_ERR applied = after initialization to constant on line 2840 vim +2841 drivers/net/ethernet/marvell/mvneta.c 2825 = 2826 static int mvneta_create_page_pool(struct mvneta_port *pp, 2827 struct mvneta_rx_queue *rxq, int size) 2828 { 2829 struct page_pool_params pp_params =3D { 2830 .order =3D 0, 2831 .flags =3D PP_FLAG_DMA_MAP, 2832 .pool_size =3D size, 2833 .nid =3D cpu_to_node(0), 2834 .dev =3D pp->dev->dev.parent, 2835 .dma_dir =3D DMA_FROM_DEVICE, 2836 }; 2837 = 2838 rxq->page_pool =3D page_pool_create(&pp_params); 2839 if (IS_ERR(rxq->page_pool)) { > 2840 rxq->page_pool =3D NULL; > 2841 return PTR_ERR(rxq->page_pool); 2842 } 2843 = 2844 return 0; 2845 } 2846 = --- 0-DAY kernel test infrastructure Open Source Technology Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============0576946234883542128==--