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>
这个提交包含在:
@@ -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 */
|
||||
|
在新工单中引用
屏蔽一个用户