Hi Zubair,

[auto build test WARNING on tip/irq/core]
[also build test WARNING on v4.8-rc4 next-20160825]
[cannot apply to linus/master linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/Zubair-Lutfullah-Kakakhel/microblaze-MIPS-xilfpga-intc-and-peripheral/20160902-084739
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 4.9.0
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=microblaze 

All warnings (new ones prefixed by >>):

   drivers/irqchip/irq-axi-intc.c: In function 'xilinx_intc_of_init':
>> drivers/irqchip/irq-axi-intc.c:169:3: warning: format '%s' expects a 
>> matching 'char *' argument [-Wformat=]
      pr_err("%s: Multiple instances of axi_intc aren't supported\n");
      ^

vim +169 drivers/irqchip/irq-axi-intc.c

   153          .xlate = irq_domain_xlate_onetwocell,
   154          .map = xintc_map,
   155  };
   156  
   157  static int __init xilinx_intc_of_init(struct device_node *intc,
   158                                               struct device_node *parent)
   159  {
   160          u32 nr_irq;
   161          int ret;
   162          struct xintc_irq_chip *irqc;
   163  
   164          irqc = kzalloc(sizeof(*irqc), GFP_KERNEL);
   165          if (!irqc)
   166                  return -ENOMEM;
   167  
   168          if (xintc_irqc) {
 > 169                  pr_err("%s: Multiple instances of axi_intc aren't 
 > supported\n");
   170                  ret = -EINVAL;
   171                  goto err_alloc;
   172          } else {
   173                  xintc_irqc = irqc;
   174          }
   175  
   176          irqc->base = of_iomap(intc, 0);
   177          BUG_ON(!irqc->base);

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

Attachment: .config.gz
Description: Binary data

Reply via email to