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:	Tue, 2 Feb 2016 22:36:13 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Noam Camus <noamc@...hip.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	linux-snps-arc@...ts.infradead.org, daniel.lezcano@...aro.org,
	marc.zyngier@....com, cmetcalf@...hip.com, talz@...hip.com,
	giladb@...hip.com, Noam Camus <noamc@...hip.com>,
	Rob Herring <robh+dt@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	John Stultz <john.stultz@...aro.org>
Subject: Re: [PATCH v2 2/3] clocksource: Add NPS400 timers driver

Hi Noam,

[auto build test WARNING on tip/irq/core]
[also build test WARNING on v4.5-rc2 next-20160201]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Noam-Camus/Adding-NPS400-drivers/20160202-213530
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/clocksource/timer-nps.c:24:0:
   include/soc/nps/common.h: In function 'nps_host_reg_non_cl':
>> include/soc/nps/common.h:122:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     return (void *)reg_address.value;
            ^
   include/soc/nps/common.h: In function 'nps_host_reg':
   include/soc/nps/common.h:136:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     return (void *)reg_address.value;
            ^

vim +122 include/soc/nps/common.h

f44c724c Noam Camus 2016-02-02  106  	union {
f44c724c Noam Camus 2016-02-02  107  		struct {
f44c724c Noam Camus 2016-02-02  108  			u32 base:7, blkid:11, reg:12, __reserved:2;
f44c724c Noam Camus 2016-02-02  109  		};
f44c724c Noam Camus 2016-02-02  110  		u32 value;
f44c724c Noam Camus 2016-02-02  111  	};
f44c724c Noam Camus 2016-02-02  112  };
f44c724c Noam Camus 2016-02-02  113  
f44c724c Noam Camus 2016-02-02  114  static inline void *nps_host_reg_non_cl(u32 blkid, u32 reg)
f44c724c Noam Camus 2016-02-02  115  {
f44c724c Noam Camus 2016-02-02  116  	struct nps_host_reg_address_non_cl reg_address;
f44c724c Noam Camus 2016-02-02  117  
f44c724c Noam Camus 2016-02-02  118  	reg_address.value = NPS_HOST_REG_BASE;
f44c724c Noam Camus 2016-02-02  119  	reg_address.blkid = blkid;
f44c724c Noam Camus 2016-02-02  120  	reg_address.reg = reg;
f44c724c Noam Camus 2016-02-02  121  
f44c724c Noam Camus 2016-02-02 @122  	return (void *)reg_address.value;
f44c724c Noam Camus 2016-02-02  123  }
f44c724c Noam Camus 2016-02-02  124  
f44c724c Noam Camus 2016-02-02  125  static inline void *nps_host_reg(u32 cpu, u32 blkid, u32 reg)
f44c724c Noam Camus 2016-02-02  126  {
f44c724c Noam Camus 2016-02-02  127  	struct nps_host_reg_address reg_address;
f44c724c Noam Camus 2016-02-02  128  	u32 cl = NPS_CPU_TO_CLUSTER_NUM(cpu);
f44c724c Noam Camus 2016-02-02  129  
f44c724c Noam Camus 2016-02-02  130  	reg_address.value = NPS_HOST_REG_BASE;

:::::: The code at line 122 was first introduced by commit
:::::: f44c724ca34c57edebb15cae51eaa8d9b6976526 soc: Support for EZchip SoC

:::::: TO: Noam Camus <noamc@...hip.com>
:::::: CC: 0day robot <fengguang.wu@...el.com>

---
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" (51085 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ