lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 2 May 2019 18:21:32 +0800
From:   kbuild test robot <>
To:     Matthew Wilcox <>
        "Matthew Wilcox (Oracle)" <>,,
Subject: Re: [PATCH 4/5] net: Use skb accessors for skb->page

Hi Matthew,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on v5.1-rc7]
[cannot apply to next-20190501]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <>

All error/warnings (new ones prefixed by >>):

   drivers/hsi/clients/ssi_protocol.c: In function 'ssip_skb_to_msg':
>> drivers/hsi/clients/ssi_protocol.c:197:19: error: implicit declaration of function 'skb_page_frag'; did you mean 'skb_free_frag'? [-Werror=implicit-function-declaration]
      sg_set_page(sg, skb_page_frag(frag), frag->size,
>> drivers/hsi/clients/ssi_protocol.c:197:19: warning: passing argument 2 of 'sg_set_page' makes pointer from integer without a cast [-Wint-conversion]
   In file included from include/linux/dma-mapping.h:11:0,
                    from include/linux/skbuff.h:35,
                    from include/linux/if_ether.h:23,
                    from drivers/hsi/clients/ssi_protocol.c:31:
   include/linux/scatterlist.h:116:20: note: expected 'struct page *' but argument is of type 'int'
    static inline void sg_set_page(struct scatterlist *sg, struct page *page,
   cc1: some warnings being treated as errors

vim +197 drivers/hsi/clients/ssi_protocol.c

   183	static void ssip_skb_to_msg(struct sk_buff *skb, struct hsi_msg *msg)
   184	{
   185		skb_frag_t *frag;
   186		struct scatterlist *sg;
   187		int i;
   189		BUG_ON(msg->sgt.nents != (unsigned int)(skb_shinfo(skb)->nr_frags + 1));
   191		sg = msg->sgt.sgl;
   192		sg_set_buf(sg, skb->data, skb_headlen(skb));
   193		for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
   194			sg = sg_next(sg);
   195			BUG_ON(!sg);
   196			frag = &skb_shinfo(skb)->frags[i];
 > 197			sg_set_page(sg, skb_page_frag(frag), frag->size,
   198					frag->page_offset);
   199		}
   200	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (68290 bytes)

Powered by blists - more mailing lists