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: .config.gz
Description: application/gzip

Reply via email to