aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <[email protected]>2016-07-04 18:27:45 +0530
committerDoug Ledford <[email protected]>2016-08-02 13:04:42 -0400
commit3b8fb4b86cf1fb6a3617dc8394f605834fe73f5c (patch)
treed51436b6bfa61b6fa6af08bbaade5bc1e6437e2e /scripts/gdb/linux/tasks.py
parent56b2eca3fea8ea4fb6ec732b98470a09385cb1eb (diff)
RDMA/cxgb3: Use AF_INET for sin_family field
Elsewhere the sin_family field holds a value with a name of the form AF_..., so it seems reasonable to do so here as well. Also the values of PF_INET and AF_INET are the same. The Coccinelle semantic patch that makes this change is as follows: // <smpl> @@ struct sockaddr_in sip; @@ ( sip.sin_family == - PF_INET + AF_INET | sip.sin_family != - PF_INET + AF_INET | sip.sin_family = - PF_INET + AF_INET ) // </smpl> Signed-off-by: Amitoj Kaur Chawla <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions