linux_dsm_epyc7002/drivers/net/ethernet/rocker
Zahari Doychev b1357cfb9d 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>
2017-09-05 14:52:31 -07:00
..
Kconfig
Makefile
rocker_hw.h
rocker_main.c rocker: Ignore address families other than IPv4 2017-08-03 15:35:59 -07:00
rocker_ofdpa.c rocker: fix kcalloc parameter order 2017-09-05 14:52:31 -07:00
rocker_tlv.c
rocker_tlv.h
rocker.h