* [radeon-alex:drm-next 233/256] drivers/gpu/drm/drm_dp_mst_topology.c:5151:9: warning: missing braces around initializer
@ 2020-01-10 12:49 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-10 12:49 UTC (permalink / raw)
To: Mikita Lipski
Cc: kbuild-all, David Francis, Wenjing Liu, dri-devel, Alex Deucher
[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next
head: d7c4470150516c55928b494601a4b9bbc5d4352d
commit: e630edd889c75a9782023288d5d0d3d6990130c4 [233/256] drm/dp_mst: Add new quirk for Synaptics MST hubs
config: x86_64-randconfig-s0-20200109 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
git checkout e630edd889c75a9782023288d5d0d3d6990130c4
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_mst_dsc_aux_for_port':
>> drivers/gpu/drm/drm_dp_mst_topology.c:5151:9: warning: missing braces around initializer [-Wmissing-braces]
struct drm_dp_desc desc = { 0 };
^
drivers/gpu/drm/drm_dp_mst_topology.c:5151:9: warning: (near initialization for 'desc.ident') [-Wmissing-braces]
vim +5151 drivers/gpu/drm/drm_dp_mst_topology.c
5130
5131 /**
5132 * drm_dp_mst_dsc_aux_for_port() - Find the correct aux for DSC
5133 * @port: The port to check. A leaf of the MST tree with an attached display.
5134 *
5135 * Depending on the situation, DSC may be enabled via the endpoint aux,
5136 * the immediately upstream aux, or the connector's physical aux.
5137 *
5138 * This is both the correct aux to read DSC_CAPABILITY and the
5139 * correct aux to write DSC_ENABLED.
5140 *
5141 * This operation can be expensive (up to four aux reads), so
5142 * the caller should cache the return.
5143 *
5144 * Returns:
5145 * NULL if DSC cannot be enabled on this port, otherwise the aux device
5146 */
5147 struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port)
5148 {
5149 struct drm_dp_mst_port *immediate_upstream_port;
5150 struct drm_dp_mst_port *fec_port;
> 5151 struct drm_dp_desc desc = { 0 };
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39772 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:[~2020-01-10 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 12:49 [radeon-alex:drm-next 233/256] drivers/gpu/drm/drm_dp_mst_topology.c:5151:9: warning: missing braces around initializer kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).