lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 23 Oct 2015 06:08:00 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Mans Rullgard <mans@...sr.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	netdev@...r.kernel.org
Subject: Re: [PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800
 Ethernet controller

Hi Mans,

[auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Mans-Rullgard/devicetree-add-vendor-prefix-for-Aurora-VLSI/20151022-220753
config: sparc64-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/aurora/nb8800.c: In function 'nb8800_xmit':
   drivers/net/ethernet/aurora/nb8800.c:381:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     cpsz = (8 - (u32)skb->data) & 7;
                 ^
   drivers/net/ethernet/aurora/nb8800.c: In function 'nb8800_probe':
>> drivers/net/ethernet/aurora/nb8800.c:1006:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' [-Wformat=]
     dev_info(&pdev->dev, "AU-NB8800 Ethernet at 0x%x\n", res->start);
     ^

vim +1006 drivers/net/ethernet/aurora/nb8800.c

   990		res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
   991		if (!res) {
   992			dev_err(&pdev->dev, "No MMIO base\n");
   993			return -EINVAL;
   994		}
   995	
   996		irq = platform_get_irq(pdev, 0);
   997		if (irq <= 0) {
   998			dev_err(&pdev->dev, "No IRQ\n");
   999			return -EINVAL;
  1000		}
  1001	
  1002		base = devm_ioremap_resource(&pdev->dev, res);
  1003		if (IS_ERR(base))
  1004			return PTR_ERR(base);
  1005	
> 1006		dev_info(&pdev->dev, "AU-NB8800 Ethernet at 0x%x\n", res->start);
  1007	
  1008		dev = alloc_etherdev(sizeof(*priv));
  1009		if (!dev)
  1010			return -ENOMEM;
  1011	
  1012		platform_set_drvdata(pdev, dev);
  1013		SET_NETDEV_DEV(dev, &pdev->dev);
  1014	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (43770 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ