drivers/gpu/drm/i915/display/intel_gmbus.c:144:6: sparse: sparse: symbol 'intel_gmbus_ddc_reserve_for_mipi' was not declared. Should it be static?
From: kernel test robot
Date: Sat Sep 18 2021 - 03:20:37 EST
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210916-220656/Lee-Shawn-C/drm-i915-dsi-unregister-gmbus-if-LFP-display-was-MIPI-panel/20210916-181936
head: 37a6b71c76cc745b62b40e77e7f882ff7ceeadb0
commit: 37a6b71c76cc745b62b40e77e7f882ff7ceeadb0 drm/i915/dsi: do not register gmbus if it was reserved for MIPI display
date: 2 days ago
config: x86_64-rhel-8.3-kselftests (attached as .config)
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/37a6b71c76cc745b62b40e77e7f882ff7ceeadb0
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210916-220656/Lee-Shawn-C/drm-i915-dsi-unregister-gmbus-if-LFP-display-was-MIPI-panel/20210916-181936
git checkout 37a6b71c76cc745b62b40e77e7f882ff7ceeadb0
# save the attached .config to linux build tree
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@xxxxxxxxx>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_gmbus.c:144:6: sparse: sparse: symbol 'intel_gmbus_ddc_reserve_for_mipi' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip