Quentin LAMBERT

Articles de cet auteur

video: mxsfb: simplify use of devm_ioremap_resource

Author: Julia Lawall <Julia.Lawall@lip6.fr> Remove unneeded error handling on the result of a call to platform_get_resource when the value is passed to devm_ioremap_resource. Move the call to platform_get_resource adjacent to the call to devm_ioremap_resource to make the connection between them more clear. A simplified version of the semantic patch that makes this change is as …

Lire la suite

pinctrl: nomadik: simplify use of devm_ioremap_resource

Author: Julia Lawall <Julia.Lawall@lip6.fr> Remove unneeded error handling on the result of a call to platform_get_resource when the value is passed to devm_ioremap_resource. Move the call to platform_get_resource adjacent to the call to devm_ioremap_resource to make the connection between them more clear. A simplified version of the semantic patch that makes this change is as …

Lire la suite

[media] marvell-ccic/mmp-driver.c: simplify use of devm_ioremap_resource

Author: Julia Lawall <Julia.Lawall@lip6.fr> Remove unneeded error handling on the result of a call to platform_get_resource when the value is passed to devm_ioremap_resource. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression pdev,res,n,e,e1; expression ret != 0; identifier l; @@ – res = platform_get_resource(pdev, IORESOURCE_MEM, n); …

Lire la suite

pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(…, – ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,…) // Signed-off-by: Julia Lawall Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki — drivers/cpufreq/pxa3xx-cpufreq.c | …

Lire la suite

drivers/gpio/gpio-omap.c: convert comma to semicolon

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a comma between expression statements by a semicolon. This changes the semantics of the code, but given the current indentation appears to be what is intended. A simplified version of the semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @r@ expression e1,e2,e; type T; identifier i; @@ …

Lire la suite

arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(…, – ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,…) // Signed-off-by: Julia Lawall Signed-off-by: Jason Cooper — arch/arm/mach-kirkwood/openrd-setup.c | 3 ++- arch/arm/mach-kirkwood/rd88f6281-setup.c | …

Lire la suite

arch/arm/mach-ux500/cpu-db8500.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(…, – ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,…) // Signed-off-by: Julia Lawall Signed-off-by: Linus Walleij — arch/arm/mach-ux500/cpu-db8500.c | 3 ++- 1 file …

Lire la suite

sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(…, – ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,…) // Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — sound/soc/pxa/mioa701_wm9713.c | 5 +++– 1 file …

Lire la suite

TTY: synclink: replace bitmasks add operation with OR operation.

Author: Alexandru Juncu <alexj@rosedu.org> Found with coccinelle, manually fixed and verified. Signed-off-by: Alexandru Juncu Signed-off-by: Greg Kroah-Hartman — drivers/tty/synclink.c | 130 ++++++++++++++++++++++++————————- 1 file changed, 65 insertions(+), 65 deletions(-)   diff –git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 8eaf1ab..e1ce141 100644 — a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c @@ -577,22 +577,22 @@ struct mgsl_struct {   #define SICR_RXC_ACTIVE BIT15 #define SICR_RXC_INACTIVE BIT14 …

Lire la suite

drm/i915: Acquire dpio_lock for VLV sideband programming in DP/HDMI

Author: Chris Wilson <chris@chris-wilson.co.uk> Otherwise we get flooded by the kernel warning us that we are doing long sequences of IO without serialisation. For example, WARNING: CPU: 0 PID: 11136 at drivers/gpu/drm/i915/intel_sideband.c:40 vlv_sideband_rw+0x48/0x1ef() Modules linked in: CPU: 0 PID: 11136 Comm: kworker/u2:0 Tainted: G W 3.11.0-rc2+ #4 Call Trace: [] ? warn_slowpath_common+0x63/0x78 [] ? vlv_sideband_rw+0x48/0x1ef …

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.