Hi Liu, kernel test robot noticed the following build errors:
[auto build test ERROR on 4ac65880ebca1b68495bd8704263b26c050ac010] url: https://github.com/intel-lab-lkp/linux/commits/Liu-Ying/drm-bridge-ite-it6263-Support-HDMI-vendor-specific-infoframe/20250904-171143 base: 4ac65880ebca1b68495bd8704263b26c050ac010 patch link: https://lore.kernel.org/r/20250904-it6263-vendor-specific-infoframe-v1-1-6efe6545b634%40nxp.com patch subject: [PATCH] drm/bridge: ite-it6263: Support HDMI vendor specific infoframe config: xtensa-randconfig-002-20250906 (https://download.01.org/0day-ci/archive/20250906/[email protected]/config) compiler: xtensa-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250906/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): drivers/gpu/drm/bridge/ite-it6263.c: In function 'it6263_hdmi_write_infoframe': >> drivers/gpu/drm/bridge/ite-it6263.c:810:3: error: a label can only be part >> of a statement and a declaration is not a statement 810 | const char zero_bulk[HDMI_PKT_HB_PB_CHUNK_SIZE] = { }; | ^~~~~ vim +810 drivers/gpu/drm/bridge/ite-it6263.c 782 783 static int it6263_hdmi_write_infoframe(struct drm_bridge *bridge, 784 enum hdmi_infoframe_type type, 785 const u8 *buffer, size_t len) 786 { 787 struct it6263 *it = bridge_to_it6263(bridge); 788 struct regmap *regmap = it->hdmi_regmap; 789 790 switch (type) { 791 case HDMI_INFOFRAME_TYPE_AVI: 792 /* write the first AVI infoframe data byte chunk(DB1-DB5) */ 793 regmap_bulk_write(regmap, HDMI_REG_AVI_DB1, 794 &buffer[HDMI_INFOFRAME_HEADER_SIZE], 795 HDMI_AVI_DB_CHUNK1_SIZE); 796 797 /* write the second AVI infoframe data byte chunk(DB6-DB13) */ 798 regmap_bulk_write(regmap, HDMI_REG_AVI_DB6, 799 &buffer[HDMI_INFOFRAME_HEADER_SIZE + 800 HDMI_AVI_DB_CHUNK1_SIZE], 801 HDMI_AVI_DB_CHUNK2_SIZE); 802 803 /* write checksum */ 804 regmap_write(regmap, HDMI_REG_AVI_CSUM, buffer[3]); 805 806 regmap_write(regmap, HDMI_REG_AVI_INFOFRM_CTRL, 807 ENABLE_PKT | REPEAT_PKT); 808 break; 809 case HDMI_INFOFRAME_TYPE_VENDOR: > 810 const char zero_bulk[HDMI_PKT_HB_PB_CHUNK_SIZE] = { }; 811 812 /* clear NULL packet registers due to undefined default value */ 813 regmap_bulk_write(regmap, HDMI_REG_PKT_HB(0), 814 zero_bulk, sizeof(zero_bulk)); 815 816 /* write header and payload */ 817 regmap_bulk_write(regmap, HDMI_REG_PKT_HB(0), buffer, len); 818 819 regmap_write(regmap, HDMI_REG_PKT_NULL_CTRL, 820 ENABLE_PKT | REPEAT_PKT); 821 break; 822 default: 823 dev_dbg(it->dev, "unsupported HDMI infoframe 0x%x\n", type); 824 } 825 826 return 0; 827 } 828 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
