diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-03-07 02:54:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-07 06:01:27 +0300 |
commit | 1b5ef07e3dd3972d9111650fb6e0f5a566c741d8 (patch) | |
tree | a676194672fee4665f45f64d11948591b379061e /drivers/net/ethernet/rocker/rocker.h | |
parent | 0f43deba6f79c8f2004008fe0c0afa23bc061b2f (diff) | |
download | linux-1b5ef07e3dd3972d9111650fb6e0f5a566c741d8.tar.xz |
rocker: sparse: fix dynamic allocation on stack warning
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/rocker/rocker.h')
-rw-r--r-- | drivers/net/ethernet/rocker/rocker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/rocker/rocker.h b/drivers/net/ethernet/rocker/rocker.h index 0a94b7c300be..51e430d25138 100644 --- a/drivers/net/ethernet/rocker/rocker.h +++ b/drivers/net/ethernet/rocker/rocker.h @@ -27,6 +27,8 @@ enum { ROCKER_ENOBUFS = 105, }; +#define ROCKER_FP_PORTS_MAX 62 + #define PCI_VENDOR_ID_REDHAT 0x1b36 #define PCI_DEVICE_ID_REDHAT_ROCKER 0x0006 |