Hi Yuval, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: microblaze-allmodconfig (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 git checkout 3ff393ab93571c1b79835408f9fbff424509ea00 # save the attached .config to linux build tree make.cross ARCH=microblaze All warnings (new ones prefixed by >>): In file included from drivers/net/ethernet/qlogic/qed/qed_hw.c:21:0: include/linux/qed/qed_chain.h: In function 'qed_chain_init': include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_phys_addr); ^ include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_chain->p_phys_addr); ^ include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_hw.c: In function 'qed_dmae_execute_sub_operation': >> drivers/net/ethernet/qlogic/qed/qed_hw.c:585:3: warning: right shift count >> >= width of type cmd->src_addr_hi = DMA_HI(src_addr); ^ drivers/net/ethernet/qlogic/qed/qed_hw.c:590:3: warning: right shift count >= width of type cmd->src_addr_hi = DMA_HI(phys); ^ drivers/net/ethernet/qlogic/qed/qed_hw.c:603:3: warning: right shift count >= width of type cmd->dst_addr_hi = DMA_HI(dst_addr); ^ drivers/net/ethernet/qlogic/qed/qed_hw.c:608:3: warning: right shift count >= width of type cmd->dst_addr_hi = DMA_HI(phys); ^ drivers/net/ethernet/qlogic/qed/qed_hw.c: In function 'qed_dmae_execute_command': drivers/net/ethernet/qlogic/qed/qed_hw.c:659:2: warning: right shift count >= width of type cmd->comp_addr_hi = DMA_HI(phys); ^ -- In file included from include/linux/qed/qed_if.h:25:0, from drivers/net/ethernet/qlogic/qed/qed.h:24, from drivers/net/ethernet/qlogic/qed/qed_int.c:21: include/linux/qed/qed_chain.h: In function 'qed_chain_init': include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_phys_addr); ^ include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_chain->p_phys_addr); ^ include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_int.c: In function 'qed_int_cau_conf_sb': >> drivers/net/ethernet/qlogic/qed/qed_int.c:175:3: warning: right shift count >> >= width of type qed_wr(p_hwfn, p_ptt, val + sizeof(u32), DMA_HI(sb_phys)); ^ -- In file included from include/linux/qed/qed_if.h:25:0, from drivers/net/ethernet/qlogic/qed/qed.h:24, from drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:15: include/linux/qed/qed_chain.h: In function 'qed_chain_init': include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_phys_addr); ^ include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_chain->p_phys_addr); ^ include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c: In function 'qed_sp_pf_start': >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type = DMA_HI_LE(p_hwfn->p_eq->chain.pbl.p_phys_table); ^ >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type >> drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:139:3: warning: right >> shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type = DMA_HI_LE(p_hwfn->p_consq->chain.pbl.p_phys_table); ^ drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_sp_commands.c:146:3: warning: right shift count >= width of type -- In file included from include/linux/qed/qed_if.h:25:0, from drivers/net/ethernet/qlogic/qed/qed.h:24, from drivers/net/ethernet/qlogic/qed/qed_spq.c:21: include/linux/qed/qed_chain.h: In function 'qed_chain_init': include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_phys_addr); ^ include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:420:4: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type p_next->next_phys.hi = DMA_HI_LE(p_chain->p_phys_addr); ^ include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type include/linux/qed/qed_chain.h:436:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c: In function 'qed_spq_hw_initialize': >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type DMA_HI_LE(p_spq->chain.p_phys_addr); ^ >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type >> drivers/net/ethernet/qlogic/qed/qed_spq.c:194:3: warning: right shift count >> >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type DMA_HI_LE(p_hwfn->p_consq->chain.p_phys_addr); ^ drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:199:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c: In function 'qed_spq_setup': drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type p_virt->elem.data_ptr.hi = DMA_HI_LE(p_phys); ^ drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type drivers/net/ethernet/qlogic/qed/qed_spq.c:410:3: warning: right shift count >= width of type vim +585 drivers/net/ethernet/qlogic/qed/qed_hw.c 569 570 static int qed_dmae_execute_sub_operation(struct qed_hwfn *p_hwfn, 571 struct qed_ptt *p_ptt, 572 u64 src_addr, 573 u64 dst_addr, 574 u8 src_type, 575 u8 dst_type, 576 u32 length) 577 { 578 dma_addr_t phys = p_hwfn->dmae_info.intermediate_buffer_phys_addr; 579 struct dmae_cmd *cmd = p_hwfn->dmae_info.p_dmae_cmd; 580 int qed_status = 0; 581 582 switch (src_type) { 583 case QED_DMAE_ADDRESS_GRC: 584 case QED_DMAE_ADDRESS_HOST_PHYS: > 585 cmd->src_addr_hi = DMA_HI(src_addr); 586 cmd->src_addr_lo = DMA_LO(src_addr); 587 break; 588 /* for virtual source addresses we use the intermediate buffer. */ 589 case QED_DMAE_ADDRESS_HOST_VIRT: 590 cmd->src_addr_hi = DMA_HI(phys); 591 cmd->src_addr_lo = DMA_LO(phys); 592 memcpy(&p_hwfn->dmae_info.p_intermediate_buffer[0], 593 (void *)(uintptr_t)src_addr, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data