Hi Sudeep,
I love your patch! Perhaps something to improve:
[auto build test WARNING on rafael-pm/linux-next]
[cannot apply to linux/master linus/master next-20220120]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Sudeep-Holla/ACPI-PCC-Implement-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-rhel-8.3-kselftests
(
https://download.01.org/0day-ci/archive/20220120/202201201828.ynlEYcjk-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
#
https://github.com/0day-ci/linux/commit/1dbcdc47eadc8c55659410fc03d067f34...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Sudeep-Holla/ACPI-PCC-Implement-OperationRegion-handler-for-the-PCC-Type-3-subtype/20220104-000003
git checkout 1dbcdc47eadc8c55659410fc03d067f3438a386a
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/acpi/acpi_pcc.c:34:22: sparse: sparse: symbol
'pcc_ctx' was not declared. Should it be static?
vim +/pcc_ctx +34 drivers/acpi/acpi_pcc.c
33
34 struct acpi_pcc_info pcc_ctx;
35
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org