]> git.baikalelectronics.ru Git - kernel.git/commit
bus: fsl-mc: properly empty-initialize structure
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 4 Dec 2019 14:29:50 +0000 (16:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 14:06:06 +0000 (15:06 +0100)
commit4c7445326b971041f36de985708465e73eef516f
tree58467cc79b67cca7cc3b1d9b661f5cded7159a39
parent9849ad67efe0f9b6bd40abc370157c011fc1c900
bus: fsl-mc: properly empty-initialize structure

Use the proper form of the empty initializer when working with
structures that contain an array. Otherwise, older gcc versions (eg gcc
4.9) will complain about this.

Fixes: 4ca7702b4b2c ("bus: fsl-mc: add the fsl_mc_get_endpoint function")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20191204142950.30206-1-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/fsl-mc-bus.c