[Intel-gfx] [drm-intel:topic/drm-misc 7/11] drivers/gpu/drm/arc/arcpgu_crtc.c:149:16: warning: unused variable 'flags'
kbuild test robot
fengguang.wu at intel.com
Thu Jun 9 09:50:54 UTC 2016
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 at synopsys.com>
:::::: CC: Alexey Brodkin <abrodkin at synopsys.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 29087 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160609/ec488bc4/attachment-0001.obj>
More information about the Intel-gfx
mailing list