Author's posts
Mar 10 2015
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 …
Mar 10 2015
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 …
Mar 10 2015
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 -) ,…) @@ …
Mar 10 2015
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 | …
Mar 10 2015
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 …
Mar 10 2015
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 -) ,…) @@ …
Mar 10 2015
staging: media: lirc: remove unnecessary cast on function argument
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes pointer to pointer cast on a function argument. 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_parallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff …
Mar 10 2015
staging: media: lirc: lirc_imon.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/media/lirc/lirc_imon.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-) diff –git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c index …
Mar 10 2015
staging: fwserial: 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/fwserial/fwserial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c index 73deae3..fdb2418 …
Mar 10 2015
staging: rtl8192e: Use kzalloc instead of kmalloc.
Author: Navya Sri Nizamkari <navyasri.tech@gmail.com> This patch uses kzalloc instead of kmalloc function. A coccinelle script was used to make this change. Signed-off-by: Navya Sri Nizamkari Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtllib_softmac.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) diff –git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 16aef7c..c246ef4 100644 — a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -3421,12 …