All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Airlie <airlied@redhat.com>
Cc: 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: warning: no previous prototype for 'pipe_config_mismatch'
Date: Wed, 13 Oct 2021 10:06:13 +0800	[thread overview]
Message-ID: <202110131006.Tx8blCWB-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2026 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-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@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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Wed, 13 Oct 2021 10:06:13 +0800	[thread overview]
Message-ID: <202110131006.Tx8blCWB-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2080 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-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@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(a)lists.01.org

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

             reply	other threads:[~2021-10-13  2:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  2:06 kernel test robot [this message]
2021-10-13  2:06 ` [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

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=202110131006.Tx8blCWB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    /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 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.