Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio: sim: Use correct order for the parameters of devm_kcalloc()
[ Upstream commit c680c6a ] 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: cb8c474 ("gpio: sim: new testing module") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information