All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-intel:topic/drm-misc 7/11] drivers/gpu/drm/arc/arcpgu_crtc.c:149:16: warning: unused variable 'flags'
@ 2016-06-09  9:50 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-06-09  9:50 UTC (permalink / raw)
  Cc: Daniel Vetter, intel-gfx, kbuild-all, dri-devel

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

tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   ae4df11a0f538b83781cf120a78dde32b0070600
commit: ed4f885657fe7e9bfec3d86a2b426da1e0d0c5de [7/11] drm/arc: Nuke event_list
config: x86_64-randconfig-s5-06091636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ed4f885657fe7e9bfec3d86a2b426da1e0d0c5de
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/arc/arcpgu_crtc.c: In function 'arc_pgu_crtc_atomic_begin':
>> drivers/gpu/drm/arc/arcpgu_crtc.c:149:16: warning: unused variable 'flags' [-Wunused-variable]
     unsigned long flags;
                   ^~~~~
>> drivers/gpu/drm/arc/arcpgu_crtc.c:148:29: warning: unused variable 'arcpgu' [-Wunused-variable]
     struct arcpgu_drm_private *arcpgu = crtc_to_arcpgu_priv(crtc);
                                ^~~~~~

vim +/flags +149 drivers/gpu/drm/arc/arcpgu_crtc.c

51dacf20 Carlos Palminha 2016-02-19  142  	return 0;
51dacf20 Carlos Palminha 2016-02-19  143  }
51dacf20 Carlos Palminha 2016-02-19  144  
51dacf20 Carlos Palminha 2016-02-19  145  static void arc_pgu_crtc_atomic_begin(struct drm_crtc *crtc,
51dacf20 Carlos Palminha 2016-02-19  146  				      struct drm_crtc_state *state)
51dacf20 Carlos Palminha 2016-02-19  147  {
51dacf20 Carlos Palminha 2016-02-19 @148  	struct arcpgu_drm_private *arcpgu = crtc_to_arcpgu_priv(crtc);
51dacf20 Carlos Palminha 2016-02-19 @149  	unsigned long flags;
51dacf20 Carlos Palminha 2016-02-19  150  
51dacf20 Carlos Palminha 2016-02-19  151  	if (crtc->state->event) {
51dacf20 Carlos Palminha 2016-02-19  152  		struct drm_pending_vblank_event *event = crtc->state->event;

:::::: The code at line 149 was first introduced by commit
:::::: 51dacf208988e5a2561d9b4b560cacc8a7f025e7 drm: Add support of ARC PGU display controller

:::::: TO: Carlos Palminha <palminha@synopsys.com>
:::::: CC: Alexey Brodkin <abrodkin@synopsys.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 29087 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:[~2016-06-09  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09  9:50 [drm-intel:topic/drm-misc 7/11] drivers/gpu/drm/arc/arcpgu_crtc.c:149:16: warning: unused variable 'flags' kbuild 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.