[Intel-gfx] [drm-intel:topic/drm-misc 48/56] drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: error: unknown field 'save' specified in initializer

kbuild test robot fengguang.wu at intel.com
Mon Dec 7 07:13:07 PST 2015


tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   559f5ad9457a9cf36c82762db5f17f7e665e7897
commit: 3cf66463f01d91553758bb0d820f6c7dfbf708af [48/56] drm: Move encoder->save/restore into nouveau
config: x86_64-rhel (attached as .config)
reproduce:
        git checkout 3cf66463f01d91553758bb0d820f6c7dfbf708af
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: error: unknown field 'save' specified in initializer
     .save = tda998x_encoder_save,
     ^
>> drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: warning: initialization from incompatible pointer type
   drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: warning: (near initialization for 'tda998x_encoder_helper_funcs.mode_fixup')
>> drivers/gpu/drm/i2c/tda998x_drv.c:1355:2: error: unknown field 'restore' specified in initializer
     .restore = tda998x_encoder_restore,
     ^

vim +/save +1354 drivers/gpu/drm/i2c/tda998x_drv.c

c707c361 Russell King 2014-02-07  1348  {
9525c4dd Russell King 2015-08-14  1349  	tda998x_encoder_dpms(encoder, DRM_MODE_DPMS_ON);
c707c361 Russell King 2014-02-07  1350  }
c707c361 Russell King 2014-02-07  1351  
c707c361 Russell King 2014-02-07  1352  static const struct drm_encoder_helper_funcs tda998x_encoder_helper_funcs = {
9525c4dd Russell King 2015-08-14  1353  	.dpms = tda998x_encoder_dpms,
c707c361 Russell King 2014-02-07 @1354  	.save = tda998x_encoder_save,
c707c361 Russell King 2014-02-07 @1355  	.restore = tda998x_encoder_restore,
c707c361 Russell King 2014-02-07  1356  	.mode_fixup = tda998x_encoder_mode_fixup,
c707c361 Russell King 2014-02-07  1357  	.prepare = tda998x_encoder_prepare,
c707c361 Russell King 2014-02-07  1358  	.commit = tda998x_encoder_commit,

:::::: The code at line 1354 was first introduced by commit
:::::: c707c3619ca81f499a5ce032021405e989a96ff0 drm/i2c: tda998x: add component support

:::::: TO: Russell King <rmk+kernel at arm.linux.org.uk>
:::::: CC: Russell King <rmk+kernel at arm.linux.org.uk>

---
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: 35612 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151207/b1518957/attachment-0001.obj>


More information about the Intel-gfx mailing list