public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Airlie <airlied@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	dri-devel@lists.freedesktop.org
Subject: [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: Sat, 6 Nov 2021 19:21:37 +0800	[thread overview]
Message-ID: <202111061925.6gg4ABUw-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-11-06 11:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111061925.6gg4ABUw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox