[airlied:drm-intel-display-refactor 12/19] drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: warning: no previous prototype for 'pipe_config_mismatch'
kernel test robot
lkp at intel.com
Wed Oct 13 02:06:13 UTC 2021
tree: git://people.freedesktop.org/~airlied/linux.git drm-intel-display-refactor
head: cb45bcc9cf97016e5d4edb7a4196f0847437460e
commit: 678661f2ff1ba755fc652011d3edb2977165f508 [12/19] drm/i915/display: move display dump/verify code to a separate file
config: i386-randconfig-a003-20211012 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add airlied git://people.freedesktop.org/~airlied/linux.git
git fetch --no-tags airlied drm-intel-display-refactor
git checkout 678661f2ff1ba755fc652011d3edb2977165f508
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: warning: no previous prototype for 'pipe_config_mismatch' [-Wmissing-prototypes]
19 | pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
| ^~~~~~~~~~~~~~~~~~~~
vim +/pipe_config_mismatch +19 drivers/gpu/drm/i915/display/intel_dump_verify.c
17
18 void __printf(4, 5)
> 19 pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
20 const char *name, const char *format, ...)
21 {
22 struct drm_i915_private *i915 = to_i915(crtc->base.dev);
23 struct va_format vaf;
24 va_list args;
25
26 va_start(args, format);
27 vaf.fmt = format;
28 vaf.va = &args;
29
30 if (fastset)
31 drm_dbg_kms(&i915->drm,
32 "[CRTC:%d:%s] fastset mismatch in %s %pV\n",
33 crtc->base.base.id, crtc->base.name, name, &vaf);
34 else
35 drm_err(&i915->drm, "[CRTC:%d:%s] mismatch in %s %pV\n",
36 crtc->base.base.id, crtc->base.name, name, &vaf);
37
38 va_end(args);
39 }
40
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 39573 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211013/4fd261ac/attachment-0001.gz>
More information about the dri-devel
mailing list