commit | b1357cfb9dd1a511269b62d2c1c986865815335a | [log] [tgz] |
---|---|---|
author | Zahari Doychev <zahari.doychev@linux.com> | Tue Sep 05 21:49:58 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 05 14:52:31 2017 -0700 |
tree | 538a0634c9ac10b122e1fac77d775459eb410f08 | |
parent | f530f39f5ff97209cc6f1bf66e634685954ad741 [diff] |
rocker: fix kcalloc parameter order The function calls to kcalloc use wrong parameter order and incorrect flags values. GFP_KERNEL is used instead of flags now and the order is corrected. The change was done using the following coccinelle script: @@ expression E1,E2; type T; @@ -kcalloc(E1, E2, sizeof(T)) +kcalloc(E2, sizeof(T), GFP_KERNEL) Signed-off-by: Zahari Doychev <zahari.doychev@linux.com> Signed-off-by: David S. Miller <davem@davemloft.net>