linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-02-12  5:48 kernel test robot
  2021-02-12 10:05 ` Arnd Bergmann
  0 siblings, 1 reply; 14+ messages in thread
From: kernel test robot @ 2021-02-12  5:48 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   10 weeks ago
config: m68k-randconfig-r001-20210211 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    37	
  > 38	void __init init_dragen2(char *command, int size)
    39	{
    40		mach_reset = dragen2_reset;
    41	
    42	#ifdef CONFIG_DIRECT_IO_ACCESS
    43		SCR = 0x10;					/* allow user access to internal registers */
    44	#endif
    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 25225 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-06-11  2:02 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-06-11  2:02 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f09eacca59d27efc15001795c33dbc78ca070732
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   6 months ago
config: m68k-randconfig-r006-20210610 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 19043 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-06-08 14:01 kernel test robot
  2021-06-10 14:44 ` Greg Ungerer
  0 siblings, 1 reply; 14+ messages in thread
From: kernel test robot @ 2021-06-08 14:01 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   614124bea77e452aa6df7a8714e8bc820b489922
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   6 months ago
config: m68k-randconfig-r021-20210608 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 23757 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-04-25 12:40 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-04-25 12:40 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2a1d7946fa53cea2083e5981ff55a8176ab2be6b
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   5 months ago
config: m68k-randconfig-r016-20210425 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    37	
  > 38	void __init init_dragen2(char *command, int size)
    39	{
    40		mach_reset = dragen2_reset;
    41	
    42	#ifdef CONFIG_DIRECT_IO_ACCESS
    43		SCR = 0x10;					/* allow user access to internal registers */
    44	#endif
    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 30373 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-04-21 10:00 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-04-21 10:00 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1fe5501ba1abf2b7e78295df73675423bd6899a0
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   5 months ago
config: m68k-randconfig-r004-20210421 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 24338 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-03-28 19:14 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-03-28 19:14 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   4 months ago
config: m68k-randconfig-s032-20210329 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-277-gc089cd2d-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 24578 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-03-20  6:45 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-03-20  6:45 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1c273e10bc0cc7efb933e0ca10e260cdfc9f0b8c
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   3 months ago
config: m68k-randconfig-r015-20210318 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 18081 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2021-02-11 13:46 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2021-02-11 13:46 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   10 weeks ago
config: m68k-randconfig-r032-20210209 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 20460 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared
@ 2020-12-29  2:18 kernel test robot
  0 siblings, 0 replies; 14+ messages in thread
From: kernel test robot @ 2020-12-29  2:18 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Greg Ungerer

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   dea8dcf2a9fa8cc540136a6cd885c3beece16ec3
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date:   3 weeks ago
config: m68k-randconfig-r002-20201220 (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/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a734bbf694270dca8594a5c33375867dc31503f5
        # 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 error/warnings (new ones prefixed by >>):

>> arch/m68k/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes]
      38 | void __init init_dragen2(char *command, int size)
         |             ^~~~~~~~~~~~
   arch/m68k/68000/dragen2.c: In function 'init_dragen2':
>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
      73 |  LSSA = (long) screen_bits;
         |                ^~~~~~~~~~~
   arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/screen_bits +73 arch/m68k/68000/dragen2.c

    37	
  > 38	void __init init_dragen2(char *command, int size)
    39	{
    40		mach_reset = dragen2_reset;
    41	
    42	#ifdef CONFIG_DIRECT_IO_ACCESS
    43		SCR = 0x10;					/* allow user access to internal registers */
    44	#endif
    45	
    46		/* CSGB Init */
    47		CSGBB = 0x4000;
    48		CSB = 0x1a1;
    49	
    50		/* CS8900 init */
    51		/* PK3: hardware sleep function pin, active low */
    52		PKSEL |= PK(3);				/* select pin as I/O */
    53		PKDIR |= PK(3);				/* select pin as output */
    54		PKDATA |= PK(3);			/* set pin high */
    55	
    56		/* PF5: hardware reset function pin, active high */
    57		PFSEL |= PF(5);				/* select pin as I/O */
    58		PFDIR |= PF(5);				/* select pin as output */
    59		PFDATA &= ~PF(5);			/* set pin low */
    60	
    61		/* cs8900 hardware reset */
    62		PFDATA |= PF(5);
    63		{ int i; for (i = 0; i < 32000; ++i); }
    64		PFDATA &= ~PF(5);
    65	
    66		/* INT1 enable (cs8900 IRQ) */
    67		PDPOL &= ~PD(1);			/* active high signal */
    68		PDIQEG &= ~PD(1);
    69		PDIRQEN |= PD(1);			/* IRQ enabled */
    70	
    71	#ifdef CONFIG_INIT_LCD
    72		/* initialize LCD controller */
  > 73		LSSA = (long) screen_bits;

---
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: 25144 bytes --]

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

end of thread, other threads:[~2021-06-11  2:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12  5:48 arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared kernel test robot
2021-02-12 10:05 ` Arnd Bergmann
2021-02-17  4:55   ` [SPAM?]Re: " Greg Ungerer
2021-02-17 11:42     ` Geert Uytterhoeven
2021-02-17 12:22       ` Greg Ungerer
  -- strict thread matches above, loose matches on Subject: below --
2021-06-11  2:02 kernel test robot
2021-06-08 14:01 kernel test robot
2021-06-10 14:44 ` Greg Ungerer
2021-04-25 12:40 kernel test robot
2021-04-21 10:00 kernel test robot
2021-03-28 19:14 kernel test robot
2021-03-20  6:45 kernel test robot
2021-02-11 13:46 kernel test robot
2020-12-29  2:18 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).