Articles de cet auteur
Mar 11 2015
ASoC: ab8500-codec: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — sound/soc/codecs/ab8500-codec.c | 2 — 1 file changed, 2 deletions(-) …
Mar 11 2015
clk: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall Fixes: 035a61c314eb « clk: Make clk API return per-user struct clk instances » Signed-off-by: Stephen Boyd …
Mar 11 2015
libertas_tf: if_usb.c: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall Signed-off-by: Kalle Valo — drivers/net/wireless/libertas_tf/if_usb.c | 2 — 1 file changed, 2 deletions(-) …
Mar 11 2015
[media] media: pci: cx23885: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Signed-off-by: Julia Lawall Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/pci/cx23885/altera-ci.c | 3 — 1 file …
Mar 11 2015
crypto: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall Signed-off-by: Herbert Xu — arch/x86/crypto/glue_helper.c | 1 – 1 file changed, 1 deletion(-) …
Mar 11 2015
net/mlx5_core: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 – 1 file changed, 1 deletion(-) …
Mar 11 2015
powerpc: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Furthermore, the function is never used, so its definition is dropped as well. Signed-off-by: Julia Lawall Signed-off-by: …
Mar 11 2015
NFSv4.1: don’t export static symbol
Author: Julia Lawall <Julia.Lawall@lip6.fr> The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (…) { … } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall Signed-off-by: Trond Myklebust — fs/nfs/pnfs.c | 2 — 1 file changed, 2 deletions(-) …
Mar 11 2015
staging: sm750fb: Add void to function definition with no arguments
Author: Supriya Karanth <iskaranth@gmail.com> Found by checkpatch.pl – ERROR: Bad function definition A function with no arguments allows for variadic arguments. Add void in between the empty parentheses to indicate that the function takes no arguments. changes made using coccinelle script: @@ type T; identifier f; @@ T f( +void ) { … } Signed-off-by: …
Mar 11 2015
Staging: dgnc: Use goto for spinlock release before return
Author: Quentin Lambert <lambert.quentin@gmail.com> spin_unlock_irqrestore() is called at several different places before exiting. This patch uses a goto statement to factorize these calls. Coccinelle was used to generate this patch. Signed-off-by: Quentin Lambert Signed-off-by: Greg Kroah-Hartman — drivers/staging/dgnc/dgnc_tty.c | 48 ++++++++++++++++++++——————— 1 file changed, 23 insertions(+), 25 deletions(-) diff –git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index d78e5bf..8445f84 …