tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 31c49140c8465fa6b378d3ae40d02a6df47a43d4
commit: 738e30f72e11e5a643939731b4ad12bc1ac96ad8 [37/134] BACKPORT: drm/i915/params: add
i915 parameters to debugfs
config: x86_64-randconfig-a011-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 738e30f72e11e5a643939731b4ad12bc1ac96ad8
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/i915/i915_debugfs_params.c:212:16: error: no
previous prototype for 'i915_debugfs_params' [-Werror=missing-prototypes]
212 | struct dentry *i915_debugfs_params(struct drm_i915_private *i915)
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 738e30f72e11e5a643939731b4ad12bc1ac96ad8
vim +/i915_debugfs_params +212 drivers/gpu/drm/i915/i915_debugfs_params.c
210
211 /* add a subdirectory with files for each i915 param */
212 struct dentry *i915_debugfs_params(struct drm_i915_private *i915)
213 {
214 struct drm_minor *minor = i915->drm.primary;
215 struct i915_params *params = &i915_modparams;
216 struct dentry *dir;
217
218 dir = debugfs_create_dir("i915_params", minor->debugfs_root);
219 if (IS_ERR(dir))
220 return dir;
221
222 /*
223 * Note: We could create files for params needing special handling
224 * here. Set mode in params to 0 to skip the generic create file, or
225 * just let the generic create file fail silently with -EEXIST.
226 */
227
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org