All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2021-11-06 11:21 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-06 11:21 UTC (permalink / raw)
  To: Dave Airlie; +Cc: llvm, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 2487 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43918 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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'
@ 2021-11-06 11:21 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-06 11:21 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2548 bytes --]

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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 43918 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-06 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 11:21 [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' kernel test robot
2021-11-06 11:21 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.