All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: kernel test robot <lkp@intel.com>,
	Alexis Belmonte <alexbelm48@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev,
	 Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	 Hans de Goede <hdegoede@redhat.com>
Subject: Re: [pdx86-platform-drivers-x86:for-next 54/54] drivers/platform/x86/hp/hp-wmi.c:271:1: sparse: sparse: symbol 'active_platform_profile_lock' was not declared. Should it be static?
Date: Tue, 9 Jul 2024 15:20:57 +0300 (EEST)	[thread overview]
Message-ID: <50dcfd6d-f7bc-7e4d-ba8f-dd17810fe013@linux.intel.com> (raw)
In-Reply-To: <202407092008.5HtUNn1c-lkp@intel.com>

On Tue, 9 Jul 2024, kernel test robot wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git for-next
> head:   2282159b33580076235384597df1d62a6a1037ee
> commit: 2282159b33580076235384597df1d62a6a1037ee [54/54] platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops
> config: i386-randconfig-r122-20240709 (https://download.01.org/0day-ci/archive/20240709/202407092008.5HtUNn1c-lkp@intel.com/config)
> compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240709/202407092008.5HtUNn1c-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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202407092008.5HtUNn1c-lkp@intel.com/
> 
> sparse warnings: (new ones prefixed by >>)
> >> drivers/platform/x86/hp/hp-wmi.c:271:1: sparse: sparse: symbol 'active_platform_profile_lock' was not declared. Should it be static?
> 
> vim +/active_platform_profile_lock +271 drivers/platform/x86/hp/hp-wmi.c
> 
>    266	
>    267	/*
>    268	 * Mutex for the active_platform_profile variable,
>    269	 * see omen_powersource_event.
>    270	 */
>  > 271	DEFINE_MUTEX(active_platform_profile_lock);
>    272	

Since this change was still the HEAD commit, I just added the missing 
static there and force pushed the for-next branch.

-- 
 i.


      reply	other threads:[~2024-07-09 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-09 12:12 [pdx86-platform-drivers-x86:for-next 54/54] drivers/platform/x86/hp/hp-wmi.c:271:1: sparse: sparse: symbol 'active_platform_profile_lock' was not declared. Should it be static? kernel test robot
2024-07-09 12:20 ` Ilpo Järvinen [this message]

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=50dcfd6d-f7bc-7e4d-ba8f-dd17810fe013@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=alexbelm48@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.