[PATCH v3] drm/edid: rename macro for CEA extended-tag

kbuild test robot lkp at intel.com
Tue Jul 4 07:10:07 UTC 2017


Hi Shashank,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Shashank-Sharma/drm-edid-rename-macro-for-CEA-extended-tag/20170704-114852
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x015-07041133 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

>> drivers/gpu//drm/drm_edid.c:3812:2: error: expected identifier or '(' before 'return'
     return false;
     ^~~~~~
>> drivers/gpu//drm/drm_edid.c:3813:1: error: expected identifier or '(' before '}' token
    }
    ^
   drivers/gpu//drm/drm_edid.c: In function 'drm_rgb_quant_range_selectable':
>> drivers/gpu//drm/drm_edid.c:3810:2: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^

vim +3812 drivers/gpu//drm/drm_edid.c

0f73912d1 Shashank Sharma 2017-07-03  3804  		    cea_db_payload_len(&edid_ext[i]) == 2 &&
0f73912d1 Shashank Sharma 2017-07-03  3805  		    cea_db_extended_tag(&edid_ext[i]) ==
0f73912d1 Shashank Sharma 2017-07-03  3806  			EXT_VIDEO_CAPABILITY_BLOCK)
b1edd6a6e Ville Syrjälä   2013-01-17  3807  			DRM_DEBUG_KMS("CEA VCDB 0x%02x\n", edid_ext[i + 2]);
b1edd6a6e Ville Syrjälä   2013-01-17  3808  			return edid_ext[i + 2] & EDID_CEA_VCDB_QS;
b1edd6a6e Ville Syrjälä   2013-01-17  3809  		}
b1edd6a6e Ville Syrjälä   2013-01-17 @3810  	}
b1edd6a6e Ville Syrjälä   2013-01-17  3811  
b1edd6a6e Ville Syrjälä   2013-01-17 @3812  	return false;
b1edd6a6e Ville Syrjälä   2013-01-17 @3813  }
b1edd6a6e Ville Syrjälä   2013-01-17  3814  EXPORT_SYMBOL(drm_rgb_quant_range_selectable);
b1edd6a6e Ville Syrjälä   2013-01-17  3815  
c8127cf08 Ville Syrjälä   2017-01-11  3816  /**

:::::: The code at line 3812 was first introduced by commit
:::::: b1edd6a6ecd436af33f210a5c75e0249466fd200 drm/edid: Add drm_rgb_quant_range_selectable()

:::::: TO: Ville Syrjälä <ville.syrjala at linux.intel.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
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/gzip
Size: 30156 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170704/f929336b/attachment-0001.gz>


More information about the dri-devel mailing list