[airlied:drm-intel-display-refactor 12/19] drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: error: no previous prototype for function 'pipe_config_mismatch'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-a011-20211018 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d245f2e8597bfb52c34810a328d42b990e4af1a4)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: error: no previous prototype for function 'pipe_config_mismatch' [-Werror,-Wmissing-prototypes]
   pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
   ^
   drivers/gpu/drm/i915/display/intel_dump_verify.c:18:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __printf(4, 5)
   ^
   static 
   1 error generated.


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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux