Commit 90a6b76b authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

RDMA/cxgb3: Annotate an RCU pointer

Annotate t3cdev.l2opt with __rcu since it is used as an RCU pointer.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 1f5461b2
...@@ -60,7 +60,7 @@ struct t3cdev { ...@@ -60,7 +60,7 @@ struct t3cdev {
int (*ctl)(struct t3cdev *dev, unsigned int req, void *data); int (*ctl)(struct t3cdev *dev, unsigned int req, void *data);
void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh); void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
void *priv; /* driver private data */ void *priv; /* driver private data */
void *l2opt; /* optional layer 2 data */ void __rcu *l2opt; /* optional layer 2 data */
void *l3opt; /* optional layer 3 data */ void *l3opt; /* optional layer 3 data */
void *l4opt; /* optional layer 4 data */ void *l4opt; /* optional layer 4 data */
void *ulp; /* ulp stuff */ void *ulp; /* ulp stuff */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment