Searched hist:c680c6a814a2269427fad9ac417ab16756bceae9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-sim.c | diff c680c6a814a2269427fad9ac417ab16756bceae9 Fri May 20 14:21:56 CDT 2022 Christophe JAILLET <christophe.jaillet@wanadoo.fr> gpio: sim: Use correct order for the parameters of devm_kcalloc()
We should have 'n', then 'size', not the opposite. This is harmless because the 2 values are just multiplied, but having the correct order silence a (unpublished yet) smatch warning.
Fixes: cb8c474e79be ("gpio: sim: new testing module") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
|