Category: Linux

staging: fbtft: fb_hx8340bn.c: remove extra parentheses around function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around function arguments. Issue detected and resolved using the following coccinelle script: @@ expression e; identifier f; @@ f(…, -( e -) ,…) Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/staging/fbtft/fb_hx8340bn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/fbtft/fb_hx8340bn.c b/drivers/staging/fbtft/fb_hx8340bn.c index 26a987a..072b755 …

Continue reading

staging: fbtft: fb_agm1264k-fl.c: remove extra parentheses around function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around function arguments. Issue detected and resolved using the following coccinelle script: @@ expression e; identifier f; @@ f(…, -( e -) ,…) Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/staging/fbtft/fb_agm1264k-fl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/fbtft/fb_agm1264k-fl.c b/drivers/staging/fbtft/fb_agm1264k-fl.c index 7aa9e8c..578fdbe …

Continue reading

staging: ft1000: ft1000-usb: ft1000_hw.c: adjust function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to pointer casts. Issues were detected using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ expression …

Continue reading

staging: ft1000: ft1000-usb: ft1000_download.c: adjust function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to pointer cast. Issues were detected using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ expression …

Continue reading

staging: ft1000: ft1000-usb: adjust function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to pointer cast. Issues were detected using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ expression …

Continue reading

staging: ft1000: ft1000-pcmcia: adjust function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to potinter cast. Issues were detected using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ expression …

Continue reading

staging: ft1000: adjust function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to pointer cast. Issues detected and resolved using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ …

Continue reading

staging: mt29f_spinand: remove pointer to pointer cast in function argument

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes unnecessary pointer to pointer cast on function arguments. It is worth noting that buf is already a u8 pointer. Issue detected and resolved using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/staging/mt29f_spinand/mt29f_spinand.c | …

Continue reading

staging: media: lirc: remove pointer to pointer cast on function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes pointer to pointer cast on function arguments. Issue detected and resolved using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/staging/media/lirc/lirc_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git …

Continue reading

staging: media: lirc: fix multiple issues with function arguments

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Handles the following issues: Removing extra parentheses around function arguments, Removing unnecessary pointer to pointer casts. Issues detected and resolved using the following coccinelle script: @@ expression e; type t; identifier f; @@ f(…, -(t *) e ,…) @@ expression e; identifier f; @@ f(…, & -( e -) ,…) @@ …

Continue reading