linux/drivers/soc/fsl
Arnd Bergmann 5c4a5999b2 soc: fsl: dpio: avoid stack usage warning
A 1024 byte variable on the stack will warn on any 32-bit architecture
during compile-testing, and is generally a bad idea anyway:

fsl/dpio/dpio-service.c: In function 'dpaa2_io_service_enqueue_multiple_desc_fq':
fsl/dpio/dpio-service.c:495:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

There are currently no callers of this function, so I cannot tell whether
dynamic memory allocation is allowed once callers are added. Change
it to kcalloc for now, if anyone gets a warning about calling this in
atomic context after they start using it, they can fix it later.

Link: https://lore.kernel.org/r/20200408185834.434784-1-arnd@arndb.de
Fixes: 9d98809711 ("soc: fsl: dpio: Adding QMAN multiple enqueue interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-04-17 17:20:44 +02:00
..
dpio soc: fsl: dpio: avoid stack usage warning 2020-04-17 17:20:44 +02:00
qbman dpaa_eth: register a device link for the qman portal used 2019-10-31 12:13:34 -07:00
qe soc: fsl: qe: fix sparse warnings for ucc_slow.c 2020-03-24 19:09:40 -05:00
dpaa2-console.c soc: fsl: fix spelling mistake "Firmaware" -> "Firmware" 2019-05-29 15:52:10 -05:00
guts.c soc: fsl: guts: Add definition for LS1028A 2019-08-15 16:43:59 -05:00
Kconfig soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
rcpm.c soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00