Quentin LAMBERT

Articles de cet auteur

usb: gadget: composite: switch over to ERR_CAST()

Author: Felipe Balbi <balbi@ti.com> This patch fixes the following Coccinelle warning: drivers/usb/gadget/composite.c:1142:9-16: WARNING: \ ERR_CAST can be used with uc Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index d742bed..fab9064 100644 — a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -1139,7 +1139,7 @@ struct …

Lire la suite

usb: gadget: inode: switch over to memdup_user()

Author: Felipe Balbi <balbi@ti.com> This patch fixes the following Coccinelle warning: drivers/usb/gadget/inode.c:442:8-15: WARNING \ opportunity for memdup_user Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/inode.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff –git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index b94c049..b5be6f03 100644 — a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c @@ -439,11 +439,9 @@ ep_write (struct file *fd, …

Lire la suite

usb: gadget: f_subset: switch over to PTR_RET

Author: Felipe Balbi <balbi@ti.com> this patch fixes the following Coccinelle warning: drivers/usb/gadget/f_subset.c:279:8-14: WARNING: \ PTR_RET can be used Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/f_subset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/usb/gadget/f_subset.c b/drivers/usb/gadget/f_subset.c index f1a5919..df4a0dcb 100644 — a/drivers/usb/gadget/f_subset.c +++ b/drivers/usb/gadget/f_subset.c @@ -276,7 +276,7 @@ static int geth_set_alt(struct …

Lire la suite

usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence

Author: Felipe Balbi <balbi@ti.com> This patch fixes the following Coccinelle error: drivers/usb/gadget/lpc32xx_udc.c:3313:1-7: ERROR: \ missing clk_put; clk_get on line 3139 and \ execution via conditional on line 3146 Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/lpc32xx_udc.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c index 049ebab..a139894 100644 — …

Lire la suite

staging:rtl8188eu: Removed assignments in if statements.

Author: Chi Pham <fempsci@gmail.com> Fixed some indentation to silence (some) checkpatch errors. The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0, S1; @@ – if ((E1 = E2) != E) + E1 = E2; + if (E1 != E) S1 else S2 Signed-off-by: Chi Pham Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_cmd.c …

Lire la suite

staging:media: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> The following coccinelle script found the match: @simple@ expression E1, E2; statement S1, S2; @@ + E1 = E2; if ( – (E1 = E2) + E1 ) S1 else S2 @left@ expression E0, E1, E2; statement S0, S1; @@ – if ((E1 = E2) < E0) + E1 = E2; …

Lire la suite

staging:wlags49_h2: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0, S1; @@ – if ((E1 = E2) != E0) + E1 = E2; + if (E1 != E0) S0 else S1 Signed-off-by: Chi Pham Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr — drivers/staging/wlags49_h2/wl_main.c | 3 …

Lire la suite

staging:vt6656: Removed assignment in if statement.

Author: Chi Pham <fempsci@gmail.com> The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0; @@ – if ((E1 = E2) == E0) + E1 = E2; + if (E1 == E0) S0 Signed-off-by: Chi Pham Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr — drivers/staging/vt6656/iwctl.c | 3 ++- 1 file …

Lire la suite

staging:lustre: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> Fixed some minor checkpatch warnings such as whitespace. Coccinelle was used for this patch (NOTE: some of the changes were made by hand). The script is not complete (semantically) and might raise some checkpatch warnings in terms of indentation depending on existing code. *** IFASSIGNMENT.COCCI START *** /* Coccinelle script to …

Lire la suite

staging:dgnc: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> Coccinelle was used for this patch. The script is not complete (semantically) and might raise some checkpatch warnings in terms of indentation depending on existing code. *** IFASSIGNMENT.COCCI START *** /* Coccinelle script to handle assignments in if statements * For compound statements, can so far only handle statements with the …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.