* [tip:WIP.sched/cpusallowed 8/13] drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret'
@ 2017-04-12 19:06 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-04-12 19:06 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild
[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/cpusallowed
head: 4ba98c7ec4094a9123d0d6aabb4497290207b518
commit: ae5a5156bd2764e6a06d2cf35d1c8222bf990034 [8/13] ACPI/processor: Use work_on_cpu()
config: x86_64-randconfig-s2-04130121 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout ae5a5156bd2764e6a06d2cf35d1c8222bf990034
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers//acpi/processor_throttling.c: In function 'acpi_processor_get_throttling':
>> drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret'
vim +/ret +913 drivers//acpi/processor_throttling.c
897 }
898 pr->throttling.state = state;
899 }
900
901 return 0;
902 }
903
904 static long __acpi_processor_get_throttling(void *data)
905 {
906 struct acpi_processor *pr = data;
907
908 return pr->throttling.acpi_processor_get_throttling(pr);
909 }
910
911 static int acpi_processor_get_throttling(struct acpi_processor *pr)
912 {
> 913 long ret;
914
915 if (!pr)
916 return -EINVAL;
917
918 if (!pr->flags.throttling)
919 return -ENODEV;
920
921 /*
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30649 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-12 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 19:06 [tip:WIP.sched/cpusallowed 8/13] drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret' kbuild 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).