Hello,

I noticed the following warnings while building the upstream kernel as of 
yesterday.
The commit I checked out at was cac7f2429872d3 : Linux 3.18-rc2.

Please verify if any of these can be fixed.

a. lib/cpumask.c: In function ‘cpumask_set_cpu_local_first’:
   lib/cpumask.c:194:25: warning: the address of ‘cpu_all_bits’ will always 
evaluate as ‘true’ [-Waddress]
  if (numa_node == -1 || !cpumask_of_node(numa_node)) {


b. drivers/infiniband/hw/ehca/ehca_mrmw.c: In function ‘ehca_set_pagebuf’:
   drivers/infiniband/hw/ehca/ehca_mrmw.c:1907:6: warning: ‘prev_pgaddr’ may be 
used uninitialized in this function [-Wmaybe-uninitialized]
   if (pgaddr - PAGE_SIZE != *prev_pgaddr) {
      ^
c. drivers/infiniband/hw/ehca/ehca_mrmw.c:1924:14: note: ‘prev_pgaddr’ was 
declared here
   u64 pgaddr, prev_pgaddr;
              ^
d. drivers/infiniband/hw/ehca/ehca_mrmw.c: In function ‘ehca_reg_mr’:
   drivers/infiniband/hw/ehca/ehca_mrmw.c:2430:5: warning: ‘hret’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
   if (hret == H_SUCCESS)
     ^
e. drivers/infiniband/hw/ehca/ehca_mrmw.c:2413:6: note: ‘hret’ was declared here
   u64 hret, *kpage;

f. drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_set_eeprom’:
    drivers/net/ethernet/broadcom/tg3.c:12059:10: warning: ‘start’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
    memcpy(buf, &start, 4);

g.  drivers/net/ethernet/ibm/ehea/ehea_main.c:106:28: warning: 
‘ehea_module_device_table’ defined but not used [-Wunused-variable]
    static struct of_device_id ehea_module_device_table[] = {


Thanks

Regards
Preeti U Murthy

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to