All of lore.kernel.org
 help / color / mirror / Atom feed
* [radeon-alex:amd-staging-4.7 1579/1595] drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1261:49: warning: missing braces around initializer
@ 2016-10-06 20:16 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-10-06 20:16 UTC (permalink / raw)
  To: Dmytro Laktyushkin; +Cc: kbuild-all, dri-devel

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

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.7
head:   a776b1b07d41d92a8ea3d38b844300f25cd0aa8f
commit: 3fbe5dd7f993e1057a58513d209d601e1c43dd42 [1579/1595] drm/amd/dal: clean up surface programmming code part 2
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3fbe5dd7f993e1057a58513d209d601e1c43dd42
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c: In function 'dc_commit_surfaces_to_target':
>> drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1261:49: warning: missing braces around initializer [-Wmissing-braces]
     struct dc_flip_addrs flip_addr[MAX_SURFACES] = {{ 0 } };
                                                    ^
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1261:49: note: (near initialization for 'flip_addr')
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1262:50: warning: missing braces around initializer [-Wmissing-braces]
     struct dc_plane_info plane_info[MAX_SURFACES] = {{ 0 } };
                                                     ^
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1262:50: note: (near initialization for 'plane_info')
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1263:54: warning: missing braces around initializer [-Wmissing-braces]
     struct dc_scaling_info scaling_info[MAX_SURFACES] = {{ 0 } };
                                                         ^
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1263:54: note: (near initialization for 'scaling_info')
   At top level:
   drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:812:13: warning: 'target_disable_memory_requests' defined but not used [-Wunused-function]
    static void target_disable_memory_requests(struct dc_target *dc_target,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +1261 drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c

  1245	
  1246		core_dc->hwss.set_bandwidth(core_dc);
  1247	
  1248		pplib_apply_display_requirements(
  1249				core_dc, core_dc->current_context, &core_dc->current_context->pp_display_cfg);
  1250	
  1251		return true;
  1252	}
  1253	
  1254	bool dc_commit_surfaces_to_target(
  1255			struct dc *dc,
  1256			const struct dc_surface **new_surfaces,
  1257			uint8_t new_surface_count,
  1258			struct dc_target *dc_target)
  1259	{
  1260		struct dc_surface_update updates[MAX_SURFACES] = { 0 };
> 1261		struct dc_flip_addrs flip_addr[MAX_SURFACES] = {{ 0 } };
  1262		struct dc_plane_info plane_info[MAX_SURFACES] = {{ 0 } };
  1263		struct dc_scaling_info scaling_info[MAX_SURFACES] = {{ 0 } };
  1264		int i;
  1265	
  1266		if (!dc_pre_update_surfaces_to_target(
  1267				dc, new_surfaces, new_surface_count, dc_target))
  1268			return false;
  1269	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43764 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-10-06 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 20:16 [radeon-alex:amd-staging-4.7 1579/1595] drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc.c:1261:49: warning: missing braces around initializer 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.