lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202408181614.AAr0qM24-lkp@intel.com>
Date: Sun, 18 Aug 2024 16:33:06 +0800
From: kernel test robot <lkp@...el.com>
To: Jocelyn Falempe <jfalempe@...hat.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
	John Ogness <john.ogness@...utronix.de>,
	Javier Martinez Canillas <javierm@...hat.com>,
	"Guilherme G . Piccoli" <gpiccoli@...lia.com>,
	bluescreen_avenger@...izon.net, dri-devel@...ts.freedesktop.org,
	linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Jocelyn Falempe <jfalempe@...hat.com>
Subject: Re: [PATCH v2 3/5] drm/log: Introduce a new boot logger to draw the
 kmsg on the screen

Hi Jocelyn,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 8befe8fa5a4e4b30787b17e078d9d7b5cb92ea19]

url:    https://github.com/intel-lab-lkp/linux/commits/Jocelyn-Falempe/drm-panic-Squash-of-pending-series/20240816-205859
base:   8befe8fa5a4e4b30787b17e078d9d7b5cb92ea19
patch link:    https://lore.kernel.org/r/20240816125612.1003295-4-jfalempe%40redhat.com
patch subject: [PATCH v2 3/5] drm/log: Introduce a new boot logger to draw the kmsg on the screen
config: arm-randconfig-r121-20240818 (https://download.01.org/0day-ci/archive/20240818/202408181614.AAr0qM24-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240818/202408181614.AAr0qM24-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408181614.AAr0qM24-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/drm_log.c:66:17: sparse: sparse: symbol 'drm_log_buf' was not declared. Should it be static?
>> drivers/gpu/drm/drm_log.c:384:1: sparse: sparse: symbol 'drm_log_work' was not declared. Should it be static?
   drivers/gpu/drm/drm_log.c: note: in included file (through include/linux/rculist.h, include/linux/console.h):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true

vim +/drm_log_buf +66 drivers/gpu/drm/drm_log.c

    59	
    60	/*
    61	 * A circular buffer, with the last kmsg logs to print.
    62	 * 8K is more than what can be drawn on most monitors.
    63	 */
    64	#define CIRC_BUF_SIZE	(1 << 13)
    65	#define CIRC_BUF_MASK	(CIRC_BUF_SIZE - 1)
  > 66	struct circ_buf drm_log_buf;
    67	static DEFINE_SPINLOCK(drm_log_writer_lock);
    68	static DEFINE_SPINLOCK(drm_log_reader_lock);
    69	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ