summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>2014-01-23 17:18:28 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-23 16:13:08 -0800
commit72ebe3495f6f6829306ccf6c6a8b1b92c2c9b672 (patch)
treeee3f325746409853dbb693931028aabbe088c72a /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
parent0681a28264dcf948e0236adb7bf505a638c4dec1 (diff)
downloadlinux-stable-72ebe3495f6f6829306ccf6c6a8b1b92c2c9b672.tar.gz
linux-stable-72ebe3495f6f6829306ccf6c6a8b1b92c2c9b672.tar.bz2
linux-stable-72ebe3495f6f6829306ccf6c6a8b1b92c2c9b672.zip
qlcnic: Use bool for rx_mac_learn.
o Use boolean type instead of u8. Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic.h')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
index 69a6ca086d5c..c85cb8428bf0 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
@@ -1082,7 +1082,7 @@ struct qlcnic_adapter {
u64 dev_rst_time;
bool drv_mac_learn;
bool fdb_mac_learn;
- u8 rx_mac_learn;
+ bool rx_mac_learn;
unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
u8 flash_mfg_id;
struct qlcnic_npar_info *npars;