Quentin LAMBERT

Author's posts

Staging: android: ram_console: Use resource_size function

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/resource_size.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/android/ram_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c index 0cb3f3c..fabd398 100644 — a/drivers/staging/android/ram_console.c +++ b/drivers/staging/android/ram_console.c @@ …

Continue reading

Staging: bcm: Use memdup_user rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> This is a little bit restricted to reduce false positives The semantic patch that makes this change is available in scripts/coccinelle/api/memdup_user.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/bcm/Bcmchar.c | 37 ++++++++++++————————- 1 file changed, 12 insertions(+), 25 deletions(-)   diff –git …

Continue reading

staging: drm/omap: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(..

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/omapdrm/omap_gem_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/omapdrm/omap_gem_helpers.c b/drivers/staging/omapdrm/omap_gem_helpers.c index 29275c7..f895363 100644 — a/drivers/staging/omapdrm/omap_gem_helpers.c +++ b/drivers/staging/omapdrm/omap_gem_helpers.c @@ …

Continue reading

hwmon: (w83793) Fix checkpatch issues

Author: Guenter Roeck <linux@roeck-us.net> Fixed: ERROR: code indent should use tabs where possible ERROR: do not use assignment in if condition ERROR: space required after that ‘,’ (ctx:VxV) WARNING: braces {} are not necessary for any arm of this statement WARNING: braces {} are not necessary for single statement blocks WARNING: simple_strtol is obsolete, use …

Continue reading

drivers/dma/amba-pl08x.c: adjust double test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Rewrite a duplicated test to test the correct value The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E; @@ ( * E || … || E | * E && … && E ) // Signed-off-by: Julia Lawall Signed-off-by: Vinod Koul — drivers/dma/amba-pl08x.c | 2 …

Continue reading

drivers/staging: adjust double test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Rewrite a duplicated test to test the correct value The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E; @@ ( * E || … || E | * E && … && E ) // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtllib_rx.c | 2 …

Continue reading

[media] drivers/media/video/s5p-mfc/s5p_mfc.c: adjust double test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Rewrite a duplicated test to test the correct value The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E; @@ ( * E || … || E | * E && … && E ) // Signed-off-by: Julia Lawall Acked-by: Kyungmin Park Signed-off-by: Marek Szyprowski Signed-off-by: …

Continue reading

[media] drivers/media/video/s5p-fimc/fimc-capture.c: adjust double test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Rewrite a duplicated test to test the correct value The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E; @@ ( * E || … || E | * E && … && E ) // Signed-off-by: Julia Lawall Acked-by: Kyungmin Park Signed-off-by: Marek Szyprowski Signed-off-by: …

Continue reading

i2c-dev: Use memdup_user

Author: Thomas Meyer <thomas@m3y3r.de> Use memdup_user rather than duplicating its implementation. This is a little bit restricted to reduce false positives. The semantic patch that makes this output is available in scripts/coccinelle/api/memdup_user.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Jean Delvare — drivers/i2c/i2c-dev.c | 13 ++++——— 1 file changed, …

Continue reading

ARM: OMAP2+: arch/arm/mach-omap2/smartreflex.c: add missing iounmap

Author: Julia Lawall <Julia.Lawall@lip6.fr> Add missing iounmap in error handling code, in a case where the function already preforms iounmap on some other execution path. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; statement S,S1; int ret; @@ e = \(ioremap\|ioremap_nocache\)(…) … when != …

Continue reading

BtrLinux
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.