* [drm-tip:drm-tip 6/9] drivers/gpu/drm/i915/display/intel_display.c:17667:12: error: 'sanitize_watermarks_add_affected' defined but not used
@ 2020-02-06 5:52 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-06 5:52 UTC (permalink / raw)
To: Chris Wilson; +Cc: Jani Nikula, intel-gfx, kbuild-all, dri-devel
[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip
head: aed2ea22e07850d8f5fae07fcf3db8adf694b3d9
commit: 9c654e423507127b37b32e15543b2e04a719eab2 [6/9] Merge remote-tracking branch 'drm-intel/drm-intel-next-queued' into drm-tip
config: i386-randconfig-g002-20200206 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 9c654e423507127b37b32e15543b2e04a719eab2
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/display/intel_display.c:17691:12: error: redefinition of 'sanitize_watermarks_add_affected'
static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:17667:12: note: previous definition of 'sanitize_watermarks_add_affected' was here
static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/display/intel_display.c:17667:12: error: 'sanitize_watermarks_add_affected' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors
vim +/sanitize_watermarks_add_affected +17667 drivers/gpu/drm/i915/display/intel_display.c
17666
17667 static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)
17668 {
17669 struct drm_plane *plane;
17670 struct drm_crtc *crtc;
17671
17672 drm_for_each_crtc(crtc, state->dev) {
17673 struct drm_crtc_state *crtc_state;
17674
17675 crtc_state = drm_atomic_get_crtc_state(state, crtc);
17676 if (IS_ERR(crtc_state))
17677 return PTR_ERR(crtc_state);
17678 }
17679
17680 drm_for_each_plane(plane, state->dev) {
17681 struct drm_plane_state *plane_state;
17682
17683 plane_state = drm_atomic_get_plane_state(state, plane);
17684 if (IS_ERR(plane_state))
17685 return PTR_ERR(plane_state);
17686 }
17687
17688 return 0;
17689 }
17690
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34024 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-06 5:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 5:52 [drm-tip:drm-tip 6/9] drivers/gpu/drm/i915/display/intel_display.c:17667:12: error: 'sanitize_watermarks_add_affected' defined but not used kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).