2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/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 net: ethernet: rocker: Add dependency to CONFIG_BRIDGE in Kconfig 2014-12-09 15:26:43 -05:00
Makefile rocker: introduce worlds infrastructure 2016-02-17 23:08:34 -05:00
rocker_hw.h rocker: rename rocker.h to rocker_hw.h 2016-02-17 23:08:34 -05:00
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: push tlv processing into separate files 2016-02-17 23:08:34 -05:00
rocker_tlv.h rocker: push tlv processing into separate files 2016-02-17 23:08:34 -05:00
rocker.h rocker: Remove support bridge bypass FDB 2017-06-08 14:16:30 -04:00