Hi Denis,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Denis-Kirjanov/xen-networking-add-XDP-support-to-xen-netfront/20200626-194340
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
7bed14551659875e1cd23a7c0266394a29a773b3
config: arm64-randconfig-r021-20200624 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
6e11ed52057ffc39941cb2de6d93cae522db4782)
reproduce (this is a W=1 build):
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/xen-netfront.c:1426:8: warning: format specifies type 'unsigned 
>> short' but the argument has type 'int' [-Wformat]
                               headroom);
                               ^~~~~~~~
   1 warning generated.

vim +1426 drivers/net/xen-netfront.c

  1417  
  1418  static int talk_to_netback_xdp(struct netfront_info *np, int xdp)
  1419  {
  1420          int err;
  1421          int headroom;
  1422  
  1423          headroom = xdp ? XDP_PACKET_HEADROOM : 0;
  1424          err = xenbus_printf(XBT_NIL, np->xbdev->nodename,
  1425                              "xdp-headroom", "%hu",
> 1426                              headroom);
  1427          if (err)
  1428                  pr_warn("Error writing xdp-headroom\n");
  1429  
  1430          return err;
  1431  }
  1432  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

Reply via email to