Linux-Serial Archive on lore.kernel.org
 help / color / Atom feed
* [tty:tty-testing 25/73] arch/powerpc/kernel/legacy_serial.c:484:7: error: 'struct plat_serial8250_port' has no member named 'has_sysrq'
@ 2019-12-18  0:55 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-18  0:55 UTC (permalink / raw)
  To: Dmitry Safonov; +Cc: kbuild-all, linux-serial, Greg Kroah-Hartman

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   a5420aa84c532497b61ef1a2d46ae4a09d675da3
commit: ea2683bf546cd8d1b69cff46787804dc5494a169 [25/73] tty/serial: Migrate 8250_fsl to use has_sysrq
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.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 ea2683bf546cd8d1b69cff46787804dc5494a169
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=powerpc 

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

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/legacy_serial.c: In function 'fixup_port_irq':
>> arch/powerpc/kernel/legacy_serial.c:484:7: error: 'struct plat_serial8250_port' has no member named 'has_sysrq'
      port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE);
          ^~

vim +484 arch/powerpc/kernel/legacy_serial.c

   459	
   460	static void __init fixup_port_irq(int index,
   461					  struct device_node *np,
   462					  struct plat_serial8250_port *port)
   463	{
   464		unsigned int virq;
   465	
   466		DBG("fixup_port_irq(%d)\n", index);
   467	
   468		virq = irq_of_parse_and_map(np, 0);
   469		if (!virq && legacy_serial_infos[index].irq_check_parent) {
   470			np = of_get_parent(np);
   471			if (np == NULL)
   472				return;
   473			virq = irq_of_parse_and_map(np, 0);
   474			of_node_put(np);
   475		}
   476		if (!virq)
   477			return;
   478	
   479		port->irq = virq;
   480	
   481	#ifdef CONFIG_SERIAL_8250_FSL
   482		if (of_device_is_compatible(np, "fsl,ns16550")) {
   483			port->handle_irq = fsl8250_handle_irq;
 > 484			port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE);
   485		}
   486	#endif
   487	}
   488	

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18  0:55 [tty:tty-testing 25/73] arch/powerpc/kernel/legacy_serial.c:484:7: error: 'struct plat_serial8250_port' has no member named 'has_sysrq' kbuild test robot

Linux-Serial Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-serial/0 linux-serial/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-serial linux-serial/ https://lore.kernel.org/linux-serial \
		linux-serial@vger.kernel.org
	public-inbox-index linux-serial

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-serial


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git