Searched hist:d40aa3372f90d478b6166df0321349b5aeb0aea8 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | nfsxdr.c | diff d40aa3372f90d478b6166df0321349b5aeb0aea8 Thu May 22 09:32:30 CDT 2014 Benoit Taine <benoit.taine@lip6.fr> nfsd: Remove assignments inside conditions
Assignments should not happen inside an if conditional, but in the line before. This issue was reported by checkpatch.
The semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/):
// <smpl>
@@ identifier i1; expression e1; statement S; @@ -if(!(i1 = e1)) S +i1 = e1; +if(!i1) +S
// </smpl>
It has been tested by compilation.
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|
H A D | nfs3acl.c | diff d40aa3372f90d478b6166df0321349b5aeb0aea8 Thu May 22 09:32:30 CDT 2014 Benoit Taine <benoit.taine@lip6.fr> nfsd: Remove assignments inside conditions
Assignments should not happen inside an if conditional, but in the line before. This issue was reported by checkpatch.
The semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/):
// <smpl>
@@ identifier i1; expression e1; statement S; @@ -if(!(i1 = e1)) S +i1 = e1; +if(!i1) +S
// </smpl>
It has been tested by compilation.
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|
H A D | nfs2acl.c | diff d40aa3372f90d478b6166df0321349b5aeb0aea8 Thu May 22 09:32:30 CDT 2014 Benoit Taine <benoit.taine@lip6.fr> nfsd: Remove assignments inside conditions
Assignments should not happen inside an if conditional, but in the line before. This issue was reported by checkpatch.
The semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/):
// <smpl>
@@ identifier i1; expression e1; statement S; @@ -if(!(i1 = e1)) S +i1 = e1; +if(!i1) +S
// </smpl>
It has been tested by compilation.
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|
H A D | nfs3xdr.c | diff d40aa3372f90d478b6166df0321349b5aeb0aea8 Thu May 22 09:32:30 CDT 2014 Benoit Taine <benoit.taine@lip6.fr> nfsd: Remove assignments inside conditions
Assignments should not happen inside an if conditional, but in the line before. This issue was reported by checkpatch.
The semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/):
// <smpl>
@@ identifier i1; expression e1; statement S; @@ -if(!(i1 = e1)) S +i1 = e1; +if(!i1) +S
// </smpl>
It has been tested by compilation.
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|