linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Paul Burton <paul.burton@imgtec.com>
Cc: kbuild-all@01.org, linux-mips@linux-mips.org,
	Ralf Baechle <ralf@linux-mips.org>,
	Paul Burton <paul.burton@imgtec.com>, Tejun Heo <tj@kernel.org>,
	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
	Tony Luck <tony.luck@intel.com>, Jiri Slaby <jslaby@suse.cz>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	Emil Velikov <emil.l.velikov@gmail.com>,
	Ivan Delalande <colona@arista.com>,
	Thierry Reding <treding@nvidia.com>,
	Petr Mladek <pmladek@suse.com>,
	linux-kernel@vger.kernel.org, Geliang Tang <geliangtang@163.com>,
	Dave Young <dyoung@redhat.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Mathias Krause <minipli@googlemail.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] console: Don't prefer first registered if DT specifies stdout-path
Date: Tue, 9 Aug 2016 23:10:55 +0800	[thread overview]
Message-ID: <201608092341.UZ1WKRaJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160809125010.14150-1-paul.burton@imgtec.com>

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

Hi Paul,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.8-rc1 next-20160809]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Paul-Burton/console-Don-t-prefer-first-registered-if-DT-specifies-stdout-path/20160809-205816
config: x86_64-randconfig-s2-08092115 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl':
   kernel/printk/printk.c:158: warning: 'old' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: In function 'amdgpu_debugfs_regs_read':
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182: warning: 'instance_bank' may be used uninitialized in this function
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182: warning: 'sh_bank' may be used uninitialized in this function
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182: warning: 'se_bank' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/gpu/drm/bochs/bochs_mm.c: In function 'bochs_gem_create':
   drivers/gpu/drm/bochs/bochs_mm.c:384: warning: 'bochsbo' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/tty/serial/serial_core.c: In function 'uart_start':
   drivers/tty/serial/serial_core.c:142: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_stop':
   drivers/tty/serial/serial_core.c:121: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_chars_in_buffer':
   drivers/tty/serial/serial_core.c:611: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_write_room':
   drivers/tty/serial/serial_core.c:598: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_put_char':
   drivers/tty/serial/serial_core.c:531: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_flush_buffer':
   drivers/tty/serial/serial_core.c:624: warning: 'flags' may be used uninitialized in this function
   drivers/tty/serial/serial_core.c: In function 'uart_write':
   drivers/tty/serial/serial_core.c:559: warning: 'flags' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/tty/vt/vt_ioctl.c: In function 'vt_ioctl':
   drivers/tty/vt/vt_ioctl.c:825: warning: 'cc' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/tty/vt/consolemap.c: In function 'conv_uni_to_pc':
   drivers/tty/vt/consolemap.c:801: warning: 'h' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/tty/serial/8250/8250_port.c: In function 'serial8250_console_write':
   drivers/tty/serial/8250/8250_port.c:3110: warning: 'flags' may be used uninitialized in this function
--
>> include/linux/console.h:179: warning: 'console_set_by_of' declared 'static' but never defined
   drivers/video/fbdev/aty/aty128fb.c: In function 'aty128_decode_var':
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.bpp' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.depth' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.yoffset' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.xoffset' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.vyres' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.vxres' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.offset_cntl' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.pitch' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.v_sync_strt_wid' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.h_sync_strt_wid' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.v_total' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.h_total' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1567: warning: 'crtc.gen_cntl' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1569: warning: 'fifo_reg.dda_on_off' may be used uninitialized in this function
   drivers/video/fbdev/aty/aty128fb.c:1569: warning: 'fifo_reg.dda_config' may be used uninitialized in this function

vim +179 include/linux/console.h

   163	extern void console_start(struct console *);
   164	extern int is_console_locked(void);
   165	extern int braille_register_console(struct console *, int index,
   166			char *console_options, char *braille_options);
   167	extern int braille_unregister_console(struct console *);
   168	#ifdef CONFIG_TTY
   169	extern void console_sysfs_notify(void);
   170	#else
   171	static inline void console_sysfs_notify(void)
   172	{ }
   173	#endif
   174	extern bool console_suspend_enabled;
   175	
   176	#ifdef CONFIG_OF
   177	extern void console_set_by_of(void);
   178	#else
 > 179	static inline void console_set_by_of(void);
   180	#endif
   181	
   182	/* Suspend and resume console messages over PM events */
   183	extern void suspend_console(void);
   184	extern void resume_console(void);
   185	
   186	int mda_console_init(void);
   187	void prom_con_init(void);

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 23471 bytes --]

  parent reply	other threads:[~2016-08-09 15:11 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 12:50 [PATCH] console: Don't prefer first registered if DT specifies stdout-path Paul Burton
2016-08-09 14:12 ` kbuild test robot
2016-08-09 15:10 ` kbuild test robot [this message]
2016-08-09 15:19 ` [PATCH v2] " Paul Burton
2016-08-09 21:57   ` Andrew Morton
2016-10-16 18:07   ` Andreas Schwab
2016-10-17 10:33     ` Paul Burton
2016-10-17 17:39       ` Andreas Schwab
2016-10-18  9:18         ` [PATCH] console: use first console if stdout-path device doesn't appear Paul Burton
2016-10-18 18:58           ` Andreas Schwab
2016-10-30  9:46             ` Andreas Schwab
2016-10-31  5:28               ` Michael Ellerman
2016-10-31 12:14                 ` [PATCH v2] " Paul Burton
2016-10-31 15:50                   ` Paul Burton
2016-10-31 19:21                     ` Larry Finger
2016-10-31 23:09                     ` Sergey Senozhatsky
2016-10-31 23:31                       ` Larry Finger
2016-11-03 12:57                         ` [PATCH v3] " Paul Burton
2016-11-03 17:40                           ` Sergey Senozhatsky
2016-11-03 21:17                             ` Paul Burton
2016-11-04 15:44                               ` Sergey Senozhatsky
2016-11-04  8:05                           ` Andreas Schwab
     [not found]                           ` <8737j3n18r.fsf@concordia.ellerman.id.au>
2016-11-07  9:18                             ` Paul Burton
2016-11-07 15:26                               ` Larry Finger
2016-11-07 17:21                                 ` Paul Burton
2016-11-07 18:27                                   ` Larry Finger
2016-11-08 13:21                                     ` revert 05fd007e46296afb (was: [PATCH v3] console: use first console if stdout-path device doesn't appear) Sergey Senozhatsky
2016-11-03 13:04                         ` [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton
2016-11-01  4:39                       ` Michael Ellerman
2016-10-31 15:58                   ` Larry Finger
2016-10-31 12:23                 ` [PATCH] " Paul Burton
2016-10-18  9:21         ` [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path Paul Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201608092341.UZ1WKRaJ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=colona@arista.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dyoung@redhat.com \
    --cc=emil.l.velikov@gmail.com \
    --cc=frowand.list@gmail.com \
    --cc=geliangtang@163.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=minipli@googlemail.com \
    --cc=paul.burton@imgtec.com \
    --cc=pmladek@suse.com \
    --cc=ralf@linux-mips.org \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=robh+dt@kernel.org \
    --cc=sergey.senozhatsky@gmail.com \
    --cc=tj@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).