All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Len Brown <len.brown@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-pm@vger.kernel.org,
	linux-acpi@vger.kernel.org
Subject: [acpi:acpi 2/2] drivers/acpi/osl.c:609:14: sparse: sparse: symbol 'one_ms_timer_hack' was not declared. Should it be static?
Date: Sat, 31 Aug 2024 03:34:39 +0800	[thread overview]
Message-ID: <202408310347.Gl65LSbs-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git acpi
head:   4b12d579d736e75908699afe6e4950f651c4f5f6
commit: 4b12d579d736e75908699afe6e4950f651c4f5f6 [2/2] acpi_os_sleep debug patch
config: x86_64-randconfig-123-20240830 (https://download.01.org/0day-ci/archive/20240831/202408310347.Gl65LSbs-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408310347.Gl65LSbs-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/202408310347.Gl65LSbs-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/acpi/osl.c:378:17: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/acpi/osl.c:609:14: sparse: sparse: symbol 'one_ms_timer_hack' was not declared. Should it be static?
   drivers/acpi/osl.c:1666:20: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *rv @@     got void [noderef] __iomem * @@
   drivers/acpi/osl.c:1666:20: sparse:     expected void *rv
   drivers/acpi/osl.c:1666:20: sparse:     got void [noderef] __iomem *
   drivers/acpi/osl.c:720:1: sparse: sparse: context imbalance in 'acpi_os_read_memory' - wrong count at exit
   drivers/acpi/osl.c:753:1: sparse: sparse: context imbalance in 'acpi_os_write_memory' - wrong count at exit

vim +/one_ms_timer_hack +609 drivers/acpi/osl.c

   603	
   604	/*
   605	 * Running in interpreter thread context, safe to sleep
   606	 */
   607	
   608	#include <linux/moduleparam.h>
 > 609	unsigned int one_ms_timer_hack;
   610	module_param(one_ms_timer_hack, uint, 0644);
   611	

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

                 reply	other threads:[~2024-08-30 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202408310347.Gl65LSbs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --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.