aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/chelsio/chtls/chtls_cm.c
diff options
context:
space:
mode:
authorArjun Vynipadath <arjun@chelsio.com>2019-03-04 17:43:02 +0530
committerDavid S. Miller <davem@davemloft.net>2019-03-04 10:21:32 -0800
commit80f61f19e542aed04cdc6cf9b748ca92bf394333 (patch)
tree459f38e8ec4e0b11634317f5fd361c8bc58b5086 /drivers/crypto/chelsio/chtls/chtls_cm.c
parentnet-sysfs: Switch to bitmap_zalloc() (diff)
downloadlinux-dev-80f61f19e542aed04cdc6cf9b748ca92bf394333.tar.xz
linux-dev-80f61f19e542aed04cdc6cf9b748ca92bf394333.zip
cxgb4/chtls: Prefix adapter flags with CXGB4
Some of these macros were conflicting with global namespace, hence prefixing them with CXGB4. Signed-off-by: Arjun Vynipadath <arjun@chelsio.com> Signed-off-by: Vishal Kulkarni <vishal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/chelsio/chtls/chtls_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/chelsio/chtls/chtls_cm.c b/drivers/crypto/chelsio/chtls/chtls_cm.c
index 2e11b0d6a9bb..4e22332496c5 100644
--- a/drivers/crypto/chelsio/chtls/chtls_cm.c
+++ b/drivers/crypto/chelsio/chtls/chtls_cm.c
@@ -616,7 +616,7 @@ int chtls_listen_start(struct chtls_dev *cdev, struct sock *sk)
pi = netdev_priv(ndev);
adap = pi->adapter;
- if (!(adap->flags & FULL_INIT_DONE))
+ if (!(adap->flags & CXGB4_FULL_INIT_DONE))
return -EBADF;
if (listen_hash_find(cdev, sk) >= 0) /* already have it */