tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: b9a3f5405fb3783912a70780b9f51b8942feed91
commit: 9602e2b071719b0f1e22a3a9ea2f5f3a6ba8f272 [27/50] UPSTREAM: drm: revocation check
at drm subsystem
config: i386-randconfig-s031-20201113 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-107-gaf3512a6-dirty
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.19
git checkout 9602e2b071719b0f1e22a3a9ea2f5f3a6ba8f272
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
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/gpu/drm/drm_hdcp.c:27:3: sparse: sparse: symbol
'srm_data' was not declared. Should it be static?
> drivers/gpu/drm/drm_hdcp.c:235:6: sparse: sparse: symbol
'drm_hdcp_request_srm' was not declared. Should it be static?
drivers/gpu/drm/drm_hdcp.c:235:6: warning: no previous prototype for
'drm_hdcp_request_srm' [-Wmissing-prototypes]
235 | void drm_hdcp_request_srm(struct drm_device *drm_dev)
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/drm_hdcp.c:317:5: warning: no previous prototype for
'drm_setup_hdcp_srm' [-Wmissing-prototypes]
317 | int drm_setup_hdcp_srm(struct class *drm_class)
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/drm_hdcp.c:327:6: warning: no previous prototype for
'drm_teardown_hdcp_srm' [-Wmissing-prototypes]
327 | void drm_teardown_hdcp_srm(struct class *drm_class)
| ^~~~~~~~~~~~~~~~~~~~~
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org