Hi Manish, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: i386-allmodconfig (attached as .config)
reproduce:
git checkout 94302d8beecd786eb3a56ca1be467d3493c8943d
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from include/linux/byteorder/little_endian.h:4:0,
from arch/x86/include/uapi/asm/byteorder.h:4,
from drivers/net/ethernet/qlogic/qed/qed_l2.c:10:
include/linux/qed/qed_chain.h: In function 'qed_chain_init':
include/linux/qed/qed_chain.h:20:58: warning: right shift count >= width of
type [-Wshift-count-overflow]
#define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
^
include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of
macro '__cpu_to_le32'
#define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
^
include/linux/qed/qed_chain.h:23:45: note: in expansion of macro 'DMA_HI'
#define DMA_HI_LE(x) cpu_to_le32(DMA_HI(x))
^
include/linux/qed/qed_chain.h:420:27: note: in expansion of macro 'DMA_HI_LE'
p_next->next_phys.hi = DMA_HI_LE(p_phys_addr);
^
include/linux/qed/qed_chain.h:20:58: warning: right shift count >= width of
type [-Wshift-count-overflow]
#define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
^
include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of
macro '__cpu_to_le32'
#define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
^
include/linux/qed/qed_chain.h:23:45: note: in expansion of macro 'DMA_HI'
#define DMA_HI_LE(x) cpu_to_le32(DMA_HI(x))
^
include/linux/qed/qed_chain.h:436:26: note: in expansion of macro 'DMA_HI_LE'
p_next->next_phys.hi = DMA_HI_LE(p_chain->p_phys_addr);
^
drivers/net/ethernet/qlogic/qed/qed_l2.c: In function
'qed_sp_eth_rxq_start_ramrod':
include/linux/qed/qed_chain.h:20:58: warning: right shift count >= width of
type [-Wshift-count-overflow]
#define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
^
include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of
macro '__cpu_to_le32'
#define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
^
include/linux/qed/qed_chain.h:23:45: note: in expansion of macro 'DMA_HI'
#define DMA_HI_LE(x) cpu_to_le32(DMA_HI(x))
^
>> drivers/net/ethernet/qlogic/qed/qed_l2.c:576:25: note: in expansion of macro
>> 'DMA_HI_LE'
p_ramrod->bd_base.hi = DMA_HI_LE(bd_chain_phys_addr);
^
include/linux/qed/qed_chain.h:20:58: warning: right shift count >= width of
type [-Wshift-count-overflow]
#define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
^
include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of
macro '__cpu_to_le32'
#define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
^
include/linux/qed/qed_chain.h:23:45: note: in expansion of macro 'DMA_HI'
#define DMA_HI_LE(x) cpu_to_le32(DMA_HI(x))
^
drivers/net/ethernet/qlogic/qed/qed_l2.c:580:30: note: in expansion of macro
'DMA_HI_LE'
p_ramrod->cqe_pbl_addr.hi = DMA_HI_LE(cqe_pbl_addr);
^
drivers/net/ethernet/qlogic/qed/qed_l2.c: In function
'qed_sp_eth_txq_start_ramrod':
include/linux/qed/qed_chain.h:20:58: warning: right shift count >= width of
type [-Wshift-count-overflow]
#define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
^
include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of
macro '__cpu_to_le32'
#define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
^
include/linux/qed/qed_chain.h:23:45: note: in expansion of macro 'DMA_HI'
#define DMA_HI_LE(x) cpu_to_le32(DMA_HI(x))
^
drivers/net/ethernet/qlogic/qed/qed_l2.c:751:31: note: in expansion of macro
'DMA_HI_LE'
p_ramrod->pbl_base_addr.hi = DMA_HI_LE(pbl_addr);
^
vim +/DMA_HI_LE +576 drivers/net/ethernet/qlogic/qed/qed_l2.c
560 NULL);
561
562 if (rc != 0)
563 return rc;
564
565 p_ramrod = &p_ent->ramrod.rx_queue_start;
566
567 p_ramrod->sb_id = cpu_to_le16(sb);
568 p_ramrod->sb_index = sb_index;
569 p_ramrod->vport_id = abs_vport_id;
570 p_ramrod->stats_counter_id = stats_id;
571 p_ramrod->rx_queue_id = cpu_to_le16(abs_rx_q_id);
572 p_ramrod->complete_cqe_flg = 0;
573 p_ramrod->complete_event_flg = 1;
574
575 p_ramrod->bd_max_bytes = cpu_to_le16(bd_max_bytes);
> 576 p_ramrod->bd_base.hi = DMA_HI_LE(bd_chain_phys_addr);
577 p_ramrod->bd_base.lo = DMA_LO_LE(bd_chain_phys_addr);
578
579 p_ramrod->num_of_pbl_pages = cpu_to_le16(cqe_pbl_size);
580 p_ramrod->cqe_pbl_addr.hi = DMA_HI_LE(cqe_pbl_addr);
581 p_ramrod->cqe_pbl_addr.lo = DMA_LO_LE(cqe_pbl_addr);
582
583 rc = qed_spq_post(p_hwfn, p_ent, NULL);
584
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data
