diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-05-20 22:21:56 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-05-22 23:09:50 +0300 |
commit | c680c6a814a2269427fad9ac417ab16756bceae9 (patch) | |
tree | 709cc52d226868026842a0768acf15d10c70dc02 /ipc | |
parent | 7869b481025c048ec6ea5b99acb14d057547de80 (diff) | |
download | linux-c680c6a814a2269427fad9ac417ab16756bceae9.tar.xz |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions