Author: Bhumika Goyal <bhumirks@gmail.com> Assignments in function call arguments are undesirable. So pull such assignments out before function call. Made a coccinelle script to detect such cases: @@ expression fn,b,d; @@ * fn(…,d=b,…); Signed-off-by: Bhumika Goyal Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/lov/lov_merge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff –git a/drivers/staging/lustre/lustre/lov/lov_merge.c …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.