diff options
author | Arjun Vynipadath <arjun@chelsio.com> | 2019-03-04 17:43:02 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 10:21:32 -0800 |
commit | 80f61f19e542aed04cdc6cf9b748ca92bf394333 (patch) | |
tree | 459f38e8ec4e0b11634317f5fd361c8bc58b5086 /drivers/crypto/chelsio/chtls | |
parent | 29ca1c5a4b4b4da8741f1a1204c3ab22f3cb1059 (diff) |
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 'drivers/crypto/chelsio/chtls')
-rw-r--r-- | drivers/crypto/chelsio/chtls/chtls_cm.c | 2 |
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 */ |