Quentin LAMBERT

Articles de cet auteur

staging: sm750fb: remove intialization of static ints

Author: Supriya Karanth <iskaranth@gmail.com> static ints are initialized to 0 by the compiler. Explicit initialization is not necessary. Found by checkpatch.pl – ERROR: do not initialise statics to 0 or NULL changes made using coccinelle script: @@ type T; identifier var; @@ static T var – =0 ; Signed-off-by: Supriya Karanth Signed-off-by: Greg Kroah-Hartman — …

Lire la suite

staging: rtl8723au: remove intialization of static ints

Author: Supriya Karanth <iskaranth@gmail.com> static ints are initialized to 0 by the compiler. Explicit initialization is not necessary. Found by checkpatch.pl – ERROR: do not initialise statics to 0 or NULL changes made using coccinelle script: @@ type T; identifier var; @@ static T var – =0 ; Signed-off-by: Supriya Karanth Signed-off-by: Greg Kroah-Hartman — …

Lire la suite

staging: rtl8188eu: remove intialization of static ints

Author: Supriya Karanth <iskaranth@gmail.com> static ints are initialized to 0 by the compiler. Explicit initialization is not necessary. Found by checkpatch.pl – ERROR: do not initialise statics to 0 or NULL changes made using coccinelle script: @@ type T; identifier var; @@ static T var – =0 ; Signed-off-by: Supriya Karanth Signed-off-by: Greg Kroah-Hartman — …

Lire la suite

staging: i2o: remove intialization of static ints

Author: Supriya Karanth <iskaranth@gmail.com> static ints are initialized to 0 by the compiler. Explicit initialization is not necessary. Found by checkpatch.pl – ERROR: do not initialise statics to 0 or NULL changes made using coccinelle script: @@ type T; identifier var; @@ static T var – =0 ; Signed-off-by: Supriya Karanth Signed-off-by: Greg Kroah-Hartman — …

Lire la suite

Staging: rtl8192e: Remove unnecessary variables

Author: Cristina Opriceana <cristina.opriceana@gmail.com> This patch removes unnecessary intermediary variables in return lines and uses actual values. Found by coccinelle using this semantic patch: @@ type T; expression expr; identifier r; @@ -T r = expr; … when != r when strict -return r; +return expr; Signed-off-by: Cristina Opriceana Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | …

Lire la suite

Staging: rtl8192u: Remove unnecessary variable

Author: Cristina Opriceana <cristina.opriceana@gmail.com> This patch detects the cases in which a variable is not modified through the code and it is used as a return value. The variable is detected and removed by coccinelle using the following semantic patch: @@ type T; expression expr; identifier r; constant c; @@ -T r = expr; … …

Lire la suite

iscsi-target: 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: Nicholas Bellinger — drivers/target/iscsi/iscsi_target.c | 1 – 1 file changed, 1 deletion(-)   …

Lire la suite

ARM: cns3xxx: 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: Arnd Bergmann Acked-by: Krzysztof Halasa — arch/arm/mach-cns3xxx/pm.c | 1 – 1 file changed, …

Lire la suite

ieee802154: 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 Acked-by: Alexander Aring Signed-off-by: Marcel Holtmann — net/ieee802154/nl-mac.c | 1 – 1 file changed, …

Lire la suite

EDAC, i82443bxgx: 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 Cc: Doug Thompson Cc: Mauro Carvalho Chehab Cc: Tim Small Link: http://lkml.kernel.org/r/1426092997-30605-13-git-send-email-Julia.Lawall@lip6.fr Signed-off-by: Borislav …

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.