Repository navigation
Commit f2fd5c3
bnx2x: Fix compile errors if CONFIG_CNIC is not set
Don't provide FCoE and iSCSI statistics to management firmware if
CONFIG_CNIC is not set. Some needed structure fields are not defined
without CONFIG_CNIC.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 8ef874b commit f2fd5c3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2943 | 2943 | | |
2944 | 2944 | | |
2945 | 2945 | | |
| 2946 | + | |
2946 | 2947 | | |
2947 | 2948 | | |
2948 | 2949 | | |
| |||
3026 | 3027 | | |
3027 | 3028 | | |
3028 | 3029 | | |
3029 | | - | |
3030 | 3030 | | |
3031 | 3031 | | |
3032 | 3032 | | |
3033 | 3033 | | |
3034 | 3034 | | |
3035 | 3035 | | |
3036 | 3036 | | |
| 3037 | + | |
3037 | 3038 | | |
3038 | 3039 | | |
3039 | 3040 | | |
| |||
3043 | 3044 | | |
3044 | 3045 | | |
3045 | 3046 | | |
3046 | | - | |
3047 | 3047 | | |
3048 | 3048 | | |
3049 | 3049 | | |
| |||
0 commit comments