[xlnx:master 9732/9937] drivers//edac/cortex_arm64_edac.c:226:3: note: in expansion of macro 'pr_cont'

From: kbuild test robot <hidden>
Date: 2020-03-19 12:13:41
Also in: oe-kbuild-all

Hi Naga,

First bad commit (maybe != root cause):

tree:   https://github.com/Xilinx/linux-xlnx master
head:   fc28b25f1b392e243126617df17f7d6332d3393b
commit: 4ef4a9439b489cbfa71ceb32529d3b0642567636 [9732/9937] arm64: zynqmp: Change Kconfig dependency for cortexa53 edac
config: arm64-randconfig-a001-20200319 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4ef4a9439b489cbfa71ceb32529d3b0642567636
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <redacted>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:15,
                    from include/linux/list.h:9,
                    from include/linux/module.h:9,
                    from drivers//edac/cortex_arm64_edac.c:17:
   drivers//edac/cortex_arm64_edac.c: In function 'a53_parse_l2merrsr_way':
   include/linux/printk.h:318:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
     318 |  printk(KERN_CONT fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quoted
drivers//edac/cortex_arm64_edac.c:226:3: note: in expansion of macro 'pr_cont'
     226 |   pr_cont("(way %d)", val);
         |   ^~~~~~~
   drivers//edac/cortex_arm64_edac.c:227:2: note: here
     227 |  case L2_DATA_RAM:
         |  ^~~~

vim +/pr_cont +226 drivers//edac/cortex_arm64_edac.c

0cbaff778d42bd Brijesh Singh 2015-10-28  221  
0cbaff778d42bd Brijesh Singh 2015-10-28  222  static void a53_parse_l2merrsr_way(u8 ramid, u8 val)
0cbaff778d42bd Brijesh Singh 2015-10-28  223  {
0cbaff778d42bd Brijesh Singh 2015-10-28  224  	switch (ramid) {
0cbaff778d42bd Brijesh Singh 2015-10-28  225  	case L2_TAG_RAM:
0cbaff778d42bd Brijesh Singh 2015-10-28 @226  		pr_cont("(way %d)", val);
0cbaff778d42bd Brijesh Singh 2015-10-28  227  	case L2_DATA_RAM:
0cbaff778d42bd Brijesh Singh 2015-10-28  228  		pr_cont("(bank %d)", val);
0cbaff778d42bd Brijesh Singh 2015-10-28  229  		break;
0cbaff778d42bd Brijesh Singh 2015-10-28  230  	case L2_SNOOP_RAM:
0cbaff778d42bd Brijesh Singh 2015-10-28  231  		pr_cont("(cpu%d tag, way %d)", val / 2, val % 4);
0cbaff778d42bd Brijesh Singh 2015-10-28  232  		break;
0cbaff778d42bd Brijesh Singh 2015-10-28  233  	}
0cbaff778d42bd Brijesh Singh 2015-10-28  234  }
0cbaff778d42bd Brijesh Singh 2015-10-28  235  

:::::: The code at line 226 was first introduced by commit
:::::: 0cbaff778d42bde8f497fe9d347a980361ef865c EDAC: Add ARM64 EDAC

:::::: TO: Brijesh Singh [off-list ref]
:::::: CC: Michal Simek [off-list ref]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help