dri-devel Archive on 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: sparse: sparse: symbol 'pipe_config_mismatch' was not declared. Should it be static?
@ 2021-10-13 20:19 kernel test robot
  2021-10-13 20:20 ` [RFC PATCH airlied] drm/i915/display: pipe_config_mismatch can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-10-13 20:19 UTC (permalink / raw)
  To: Dave Airlie; +Cc: kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 1289 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-s002-20211013 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        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 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: sparse: sparse: symbol 'pipe_config_mismatch' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
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: 37741 bytes --]

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

* [RFC PATCH airlied] drm/i915/display: pipe_config_mismatch can be static
  2021-10-13 20:19 [airlied:drm-intel-display-refactor 12/19] drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: sparse: sparse: symbol 'pipe_config_mismatch' was not declared. Should it be static? kernel test robot
@ 2021-10-13 20:20 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-13 20:20 UTC (permalink / raw)
  To: Dave Airlie; +Cc: kbuild-all, dri-devel

drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: warning: symbol 'pipe_config_mismatch' was not declared. Should it be static?

Fixes: 678661f2ff1b ("drm/i915/display: move display dump/verify code to a separate file")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 intel_dump_verify.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dump_verify.c b/drivers/gpu/drm/i915/display/intel_dump_verify.c
index dab85805a569d..ad4448f7b0291 100644
--- a/drivers/gpu/drm/i915/display/intel_dump_verify.c
+++ b/drivers/gpu/drm/i915/display/intel_dump_verify.c
@@ -15,7 +15,7 @@
 #include "intel_snps_phy.h"
 #include "intel_vrr.h"
 
-void __printf(4, 5)
+static void __printf(4, 5)
 pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
 		     const char *name, const char *format, ...)
 {

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

end of thread, other threads:[~2021-10-13 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 20:19 [airlied:drm-intel-display-refactor 12/19] drivers/gpu/drm/i915/display/intel_dump_verify.c:19:1: sparse: sparse: symbol 'pipe_config_mismatch' was not declared. Should it be static? kernel test robot
2021-10-13 20:20 ` [RFC PATCH airlied] drm/i915/display: pipe_config_mismatch can be static kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox