All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:ras/urgent 1/1] arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l'
@ 2020-02-26  4:38 kbuild test robot
  2020-02-26  9:48 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-02-26  4:38 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git ras/urgent
head:   bf69bac4d3ef188ee8cf536a31ecbb230a8ba91a
commit: bf69bac4d3ef188ee8cf536a31ecbb230a8ba91a [1/1] x86/mce/therm_throt: Undo thermal polling properly on CPU offline
config: x86_64-defconfig (attached as .config)
compiler: clang version 11.0.0 (git://gitmirror/llvm_project 7f9f027c62623bff79730cd30d1a8a534e2ddb06)
reproduce:
        # FIXME the reproduce steps for clang is not ready yet

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l'
           l = apic_read(APIC_LVTTHMR);
           ^
   arch/x86//kernel/cpu/mce/therm_throt.c:492:27: error: use of undeclared identifier 'l'
           apic_write(APIC_LVTTHMR, l | APIC_LVT_MASKED);
                                    ^
   2 errors generated.

vim +/l +491 arch/x86//kernel/cpu/mce/therm_throt.c

   484	
   485	static int thermal_throttle_offline(unsigned int cpu)
   486	{
   487		struct thermal_state *state = &per_cpu(thermal_state, cpu);
   488		struct device *dev = get_cpu_device(cpu);
   489	
   490		/* Mask the thermal vector before draining evtl. pending work */
 > 491		l = apic_read(APIC_LVTTHMR);
   492		apic_write(APIC_LVTTHMR, l | APIC_LVT_MASKED);
   493	
   494		cancel_delayed_work_sync(&state->package_throttle.therm_work);
   495		cancel_delayed_work_sync(&state->core_throttle.therm_work);
   496	
   497		state->package_throttle.rate_control_active = false;
   498		state->core_throttle.rate_control_active = false;
   499	
   500		thermal_throttle_remove_dev(dev);
   501		return 0;
   502	}
   503	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29000 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [peterz-queue:ras/urgent 1/1] arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l'
  2020-02-26  4:38 [peterz-queue:ras/urgent 1/1] arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l' kbuild test robot
@ 2020-02-26  9:48 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2020-02-26  9:48 UTC (permalink / raw)
  To: kbuild-all

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

On Wed, Feb 26, 2020 at 12:38:29PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git ras/urgent
> head:   bf69bac4d3ef188ee8cf536a31ecbb230a8ba91a
> commit: bf69bac4d3ef188ee8cf536a31ecbb230a8ba91a [1/1] x86/mce/therm_throt: Undo thermal polling properly on CPU offline
> config: x86_64-defconfig (attached as .config)
> compiler: clang version 11.0.0 (git://gitmirror/llvm_project 7f9f027c62623bff79730cd30d1a8a534e2ddb06)
> reproduce:
>         # FIXME the reproduce steps for clang is not ready yet
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
> >> arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l'
>            l = apic_read(APIC_LVTTHMR);
>            ^
>    arch/x86//kernel/cpu/mce/therm_throt.c:492:27: error: use of undeclared identifier 'l'
>            apic_write(APIC_LVTTHMR, l | APIC_LVT_MASKED);
>                                     ^
>    2 errors generated.

Already fixed, thx.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-26  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26  4:38 [peterz-queue:ras/urgent 1/1] arch/x86//kernel/cpu/mce/therm_throt.c:491:2: error: use of undeclared identifier 'l' kbuild test robot
2020-02-26  9:48 ` Borislav Petkov

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.