On Mon, 2016-07-04 at 18:27 +0530, Amitoj Kaur Chawla wrote: > 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 <amitoj1606@xxxxxxxxx> > --- > drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, applied. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: This is a digitally signed message part