All of lore.kernel.org
 help / color / mirror / Atom feed
* [asm-generic:clkdev 5/7] arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared; did you mean 'B3000000'?
@ 2021-06-01 18:40 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-06-01 18:40 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-arch

[-- Attachment #1: Type: text/plain, Size: 4370 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev
head:   2c79796a923663135ddaf8e9ddca4b46ac8e0113
commit: 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f [5/7] m68k: coldfire: remove private clk_get/clk_put
config: m68k-randconfig-r006-20210601 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
        git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
        git fetch --no-tags asm-generic clkdev
        git checkout 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/m68k/coldfire/m53xx.c:294:24: warning: no previous prototype for 'sysinit' [-Wmissing-prototypes]
     294 | asmlinkage void __init sysinit(void)
         |                        ^~~~~~~
   In file included from arch/m68k/include/asm/io.h:6,
                    from include/linux/io.h:13,
                    from arch/m68k/coldfire/m53xx.c:20:
   arch/m68k/coldfire/m53xx.c: In function 'fbcs_init':
>> arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared (first use in this function); did you mean 'B3000000'?
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                             ^~~~~~~~~
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~
   arch/m68k/coldfire/m53xx.c:278:29: note: each undeclared identifier is reported only once for each function it appears in
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                             ^~~~~~~~~
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~
   arch/m68k/coldfire/m53xx.c:278:28: warning: left-hand operand of comma expression has no effect [-Wunused-value]
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                            ^
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~


vim +278 arch/m68k/coldfire/m53xx.c

   277	
 > 278	#define EXT_SRAM_ADDRESS	(0,xC0000000)
   279	#define FLASH_ADDRESS		(0x00000000)
   280	#define SDRAM_ADDRESS		(0x40000000)
   281	
   282	#define NAND_FLASH_ADDRESS	(0xD0000000)
   283	
   284	void wtm_init(void);
   285	void scm_init(void);
   286	void gpio_init(void);
   287	void fbcs_init(void);
   288	void sdramc_init(void);
   289	int  clock_pll (int fsys, int flags);
   290	int  clock_limp (int);
   291	int  clock_exit_limp (void);
   292	int  get_sys_clock (void);
   293	
 > 294	asmlinkage void __init sysinit(void)
   295	{
   296		clock_pll(0, 0);
   297	
   298		wtm_init();
   299		scm_init();
   300		gpio_init();
   301		fbcs_init();
   302		sdramc_init();
   303	}
   304	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25434 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [asm-generic:clkdev 5/7] arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared; did you mean 'B3000000'?
@ 2021-06-01 18:40 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-06-01 18:40 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4462 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev
head:   2c79796a923663135ddaf8e9ddca4b46ac8e0113
commit: 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f [5/7] m68k: coldfire: remove private clk_get/clk_put
config: m68k-randconfig-r006-20210601 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
        git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
        git fetch --no-tags asm-generic clkdev
        git checkout 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/m68k/coldfire/m53xx.c:294:24: warning: no previous prototype for 'sysinit' [-Wmissing-prototypes]
     294 | asmlinkage void __init sysinit(void)
         |                        ^~~~~~~
   In file included from arch/m68k/include/asm/io.h:6,
                    from include/linux/io.h:13,
                    from arch/m68k/coldfire/m53xx.c:20:
   arch/m68k/coldfire/m53xx.c: In function 'fbcs_init':
>> arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared (first use in this function); did you mean 'B3000000'?
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                             ^~~~~~~~~
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~
   arch/m68k/coldfire/m53xx.c:278:29: note: each undeclared identifier is reported only once for each function it appears in
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                             ^~~~~~~~~
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~
   arch/m68k/coldfire/m53xx.c:278:28: warning: left-hand operand of comma expression has no effect [-Wunused-value]
     278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
         |                            ^
   arch/m68k/include/asm/io_no.h:25:76: note: in definition of macro '__raw_writel'
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         |                                                                            ^
   arch/m68k/coldfire/m53xx.c:347:9: note: in expansion of macro 'EXT_SRAM_ADDRESS'
     347 |  writel(EXT_SRAM_ADDRESS, MCF_FBCS1_CSAR);
         |         ^~~~~~~~~~~~~~~~


vim +278 arch/m68k/coldfire/m53xx.c

   277	
 > 278	#define EXT_SRAM_ADDRESS	(0,xC0000000)
   279	#define FLASH_ADDRESS		(0x00000000)
   280	#define SDRAM_ADDRESS		(0x40000000)
   281	
   282	#define NAND_FLASH_ADDRESS	(0xD0000000)
   283	
   284	void wtm_init(void);
   285	void scm_init(void);
   286	void gpio_init(void);
   287	void fbcs_init(void);
   288	void sdramc_init(void);
   289	int  clock_pll (int fsys, int flags);
   290	int  clock_limp (int);
   291	int  clock_exit_limp (void);
   292	int  get_sys_clock (void);
   293	
 > 294	asmlinkage void __init sysinit(void)
   295	{
   296		clock_pll(0, 0);
   297	
   298		wtm_init();
   299		scm_init();
   300		gpio_init();
   301		fbcs_init();
   302		sdramc_init();
   303	}
   304	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25434 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [asm-generic:clkdev 5/7] arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared; did you mean 'B3000000'?
  2021-06-01 18:40 ` kernel test robot
@ 2021-06-02 10:08   ` Arnd Bergmann
  -1 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2021-06-02 10:08 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-arch

On Tue, Jun 1, 2021 at 8:40 PM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev
> head:   2c79796a923663135ddaf8e9ddca4b46ac8e0113
> commit: 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f [5/7] m68k: coldfire: remove private clk_get/clk_put
> config: m68k-randconfig-r006-20210601 (attached as .config)
> compiler: m68k-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
>         git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
>         git fetch --no-tags asm-generic clkdev
>         git checkout 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    arch/m68k/coldfire/m53xx.c:294:24: warning: no previous prototype for 'sysinit' [-Wmissing-prototypes]
>      294 | asmlinkage void __init sysinit(void)
>          |                        ^~~~~~~
>    In file included from arch/m68k/include/asm/io.h:6,
>                     from include/linux/io.h:13,
>                     from arch/m68k/coldfire/m53xx.c:20:
>    arch/m68k/coldfire/m53xx.c: In function 'fbcs_init':
> >> arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared (first use in this function); did you mean 'B3000000'?
>      278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
>          |                             ^~~~~~~~~

Fixed now, sorry for the typo. I'm going back to my normal input devices now ;-)

        Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [asm-generic:clkdev 5/7] arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared; did you mean 'B3000000'?
@ 2021-06-02 10:08   ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2021-06-02 10:08 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

On Tue, Jun 1, 2021 at 8:40 PM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev
> head:   2c79796a923663135ddaf8e9ddca4b46ac8e0113
> commit: 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f [5/7] m68k: coldfire: remove private clk_get/clk_put
> config: m68k-randconfig-r006-20210601 (attached as .config)
> compiler: m68k-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
>         git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
>         git fetch --no-tags asm-generic clkdev
>         git checkout 5b2335ed6a67ea9f7894c2ffe27b2884ac46f39f
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    arch/m68k/coldfire/m53xx.c:294:24: warning: no previous prototype for 'sysinit' [-Wmissing-prototypes]
>      294 | asmlinkage void __init sysinit(void)
>          |                        ^~~~~~~
>    In file included from arch/m68k/include/asm/io.h:6,
>                     from include/linux/io.h:13,
>                     from arch/m68k/coldfire/m53xx.c:20:
>    arch/m68k/coldfire/m53xx.c: In function 'fbcs_init':
> >> arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared (first use in this function); did you mean 'B3000000'?
>      278 | #define EXT_SRAM_ADDRESS (0,xC0000000)
>          |                             ^~~~~~~~~

Fixed now, sorry for the typo. I'm going back to my normal input devices now ;-)

        Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-02 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 18:40 [asm-generic:clkdev 5/7] arch/m68k/coldfire/m53xx.c:278:29: error: 'xC0000000' undeclared; did you mean 'B3000000'? kernel test robot
2021-06-01 18:40 ` kernel test robot
2021-06-02 10:08 ` Arnd Bergmann
2021-06-02 10:08   ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.