* [acpi:acpi 2/2] drivers/acpi/osl.c:609:14: sparse: sparse: symbol 'one_ms_timer_hack' was not declared. Should it be static?
@ 2024-08-30 19:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-30 19:34 UTC (permalink / raw)
To: Len Brown; +Cc: oe-kbuild-all, linux-pm, linux-acpi
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-30 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 19:34 [acpi:acpi 2/2] drivers/acpi/osl.c:609:14: sparse: sparse: symbol 'one_ms_timer_hack' was not declared. Should it be static? kernel test robot
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).