lkml.org 
[lkml]   [2017]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:WIP.sched/cpusallowed 8/13] drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-04-12 21:07    [W:0.038 / U:22.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site