aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
diff options
context:
space:
mode:
authorZahari Doychev <zahari.doychev@linux.com>2017-09-05 21:49:58 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-05 14:52:31 -0700
commitb1357cfb9dd1a511269b62d2c1c986865815335a (patch)
tree538a0634c9ac10b122e1fac77d775459eb410f08 /drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
parentrds: Fix non-atomic operation on shared flag variable (diff)
downloadlinux-dev-b1357cfb9dd1a511269b62d2c1c986865815335a.tar.xz
linux-dev-b1357cfb9dd1a511269b62d2c1c986865815335a.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions