[linux-next:master 2795/10444] arch/arm/mach-pxa/generic.c:55:6: error: expected ';' after expression

kernel test robot <[email protected]> Thu, 30 Jul 2026 18:24:45 +0800
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   78bc8af4affb9a732504eb22eeac7d1e50883853
commit: ab9c44bbf6d7df22518ea66329595023c00be1bc [2795/10444] ARM: PXA: remove remnants of PXA93x support
config: arm-pxa3xx_defconfig (https://download.01.org/0day-ci/archive/20260730/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260730/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> arch/arm/mach-pxa/generic.c:55:6: error: expected ';' after expression
      55 |         if (cpu_is_pxa3xx())
         |             ^
   include/linux/soc/pxa/cpu.h:193:3: note: expanded from macro 'cpu_is_pxa3xx'
     193 |                 __cpu_is_pxa3xx(read_cpuid_id());       \
         |                 ^
   include/linux/soc/pxa/cpu.h:181:3: note: expanded from macro '__cpu_is_pxa3xx'
     181 |          })
         |          ^
   1 error generated.
--
>> arch/arm/mach-pxa/pxa3xx.c:402:6: error: expected ';' after expression
     402 |         if (cpu_is_pxa3xx()) {
         |             ^
   include/linux/soc/pxa/cpu.h:193:3: note: expanded from macro 'cpu_is_pxa3xx'
     193 |                 __cpu_is_pxa3xx(read_cpuid_id());       \
         |                 ^
   include/linux/soc/pxa/cpu.h:181:3: note: expanded from macro '__cpu_is_pxa3xx'
     181 |          })
         |          ^
   1 error generated.
--
>> arch/arm/mach-pxa/smemc.c:60:6: error: expected ';' after expression
      60 |         if (cpu_is_pxa3xx()) {
         |             ^
   include/linux/soc/pxa/cpu.h:193:3: note: expanded from macro 'cpu_is_pxa3xx'
     193 |                 __cpu_is_pxa3xx(read_cpuid_id());       \
         |                 ^
   include/linux/soc/pxa/cpu.h:181:3: note: expanded from macro '__cpu_is_pxa3xx'
     181 |          })
         |          ^
   1 error generated.
--
>> drivers/video/fbdev/pxafb.c:2270:6: error: expected ';' after expression
    2270 |         if (cpu_is_pxa3xx() && inf->acceleration_enabled)
         |             ^
   include/linux/soc/pxa/cpu.h:193:3: note: expanded from macro 'cpu_is_pxa3xx'
     193 |                 __cpu_is_pxa3xx(read_cpuid_id());       \
         |                 ^
   include/linux/soc/pxa/cpu.h:181:3: note: expanded from macro '__cpu_is_pxa3xx'
     181 |          })
         |          ^
   1 error generated.


vim +55 arch/arm/mach-pxa/generic.c

04fef228fb00dd Eric Miao      2008-07-29  45  
a38b1f60b5245a Robert Jarzmik 2014-07-14  46  /*
a38b1f60b5245a Robert Jarzmik 2014-07-14  47   * For non device-tree builds, keep legacy timer init
a38b1f60b5245a Robert Jarzmik 2014-07-14  48   */
3d3c6a5f3de2c7 Arnd Bergmann  2014-07-26  49  void __init pxa_timer_init(void)
a38b1f60b5245a Robert Jarzmik 2014-07-14  50  {
5e1d01285140a8 Robert Jarzmik 2014-12-27  51  	if (cpu_is_pxa25x())
3c816d950a494a Arnd Bergmann  2019-09-18  52  		pxa25x_clocks_init(io_p2v(0x41300000));
5e1d01285140a8 Robert Jarzmik 2014-12-27  53  	if (cpu_is_pxa27x())
3c816d950a494a Arnd Bergmann  2019-09-18  54  		pxa27x_clocks_init(io_p2v(0x41300000));
a1c0a6adbc705a Robert Jarzmik 2015-02-07 @55  	if (cpu_is_pxa3xx())
3c816d950a494a Arnd Bergmann  2019-09-18  56  		pxa3xx_clocks_init(io_p2v(0x41340000), io_p2v(0x41350000));
f4e14edf25661f Robert Jarzmik 2016-09-19  57  	pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000));
a38b1f60b5245a Robert Jarzmik 2014-07-14  58  }
a38b1f60b5245a Robert Jarzmik 2014-07-14  59  

:::::: The code at line 55 was first introduced by commit
:::::: a1c0a6adbc705a9a760416796ce9cb3349fd476f ARM: pxa: Transition pxa25x, pxa27x, pxa3xx to clk framework

:::::: TO: Robert Jarzmik <[email protected]>
:::::: CC: Robert Jarzmik <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki