diff options
author | 2019-08-14 15:26:43 +0200 | |
---|---|---|
committer | 2019-08-14 15:26:43 +0200 | |
commit | 5ef9eb7ca372a97d347cf2d38e0ad2209585078b (patch) | |
tree | 9a3c7c48b8cd5dca2c9cd18ac269d27b501d384d /drivers | |
parent | Merge tag 'reset-for-v5.4' of git://git.pengutronix.de/git/pza/linux into arm... (diff) | |
parent | soc: renesas: rcar-sysc: Use [] to denote a flexible array member (diff) | |
download | linux-5ef9eb7ca372a97d347cf2d38e0ad2209585078b.tar.gz linux-5ef9eb7ca372a97d347cf2d38e0ad2209585078b.tar.bz2 linux-5ef9eb7ca372a97d347cf2d38e0ad2209585078b.zip |
Merge tag 'renesas-drivers-for-v5.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/drivers
Renesas driver updates for v5.4
- Fix a flexible array member definition in the R-Car SYSC driver.
* tag 'renesas-drivers-for-v5.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
soc: renesas: rcar-sysc: Use [] to denote a flexible array member
Link: https://lore.kernel.org/r/20190802120355.1430-3-geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/renesas/rcar-sysc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 0c80fab4f8de..02b29ea62dc4 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -170,7 +170,7 @@ struct rcar_sysc_pd { struct generic_pm_domain genpd; struct rcar_sysc_ch ch; unsigned int flags; - char name[0]; + char name[]; }; static inline struct rcar_sysc_pd *to_rcar_pd(struct generic_pm_domain *d) |