aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <[email protected]>2011-08-26 09:45:41 +0000
committerDavid S. Miller <[email protected]>2011-08-28 17:08:28 -0400
commit3c9c36bcedd426f2be2826da43e5163de61735f7 (patch)
treebdbccabd938d1fe85d1502afbaaee52a07a1ff9c /include/linux/debugobjects.h
parentdcc7e3a6a2a2464cf96dee329f7c58fe8c230d97 (diff)
net: Define NETDEV_FCOE_WWNN, NETDEV_FCOE_WWPN only when CONFIG_LIBFCOE is enabled
bnx2fc driver calls netdev->netdev_ops->ndo_fcoe_get_wwn() and it may not be defined with the current Kconfig dependencies. ndo_fcoe_get_wwn is dependent on CONFIG_FCOE, but bnx2fc does not select CONFIG_FCOE, as it does not depend on fcoe driver. Since both fcoe and bnx2fc drivers select CONFIG_LIBFCOE, define NETDEV_FCOE_WWNN and NETDEV_FCOE_WWPN when CONFIG_LIBFCOE is defined. Reported-by: Stephen Rothwell <[email protected]> Reported-by: Randy Dunlap <[email protected]> Cc: Yi Zou <[email protected]> Signed-off-by: Bhanu Prakash Gollapudi <[email protected]> Signed-off-by: Michael Chan <[email protected]> Reviewed-by: Yi Zou <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions