Quentin LAMBERT

Articles de cet auteur

isdn: replace del_timer by del_timer_sync

Author: Julia Lawall <Julia.Lawall@lip6.fr> Use del_timer_sync to ensure that the timer is stopped on all CPUs before the driver exists. This change was suggested by Thomas Gleixner. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @r@ declarer name module_exit; identifier ex; @@ module_exit(ex); @@ identifier r.ex; @@ ex(…) { } // …

Lire la suite

i40e: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher — drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 4 ++– 1 file …

Lire la suite

i40e/i40evf: Remove addressof casts to same type

Author: Joe Perches <joe@perches.com> Using addressof then casting to the original type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast.cocci @@ type T; T foo; @@ – (T *)&foo + &foo Signed-off-by: Joe Perches Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher — drivers/net/ethernet/intel/i40e/i40e_common.c | 4 ++– drivers/net/ethernet/intel/i40evf/i40e_common.c | 3 +– …

Lire la suite

rtlwifi: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Around these changes: o Remove unnecessary parentheses o Use consistent dereference style (change ptr[0] to *ptr) o Argument alignment Done via coccinelle script: (and some typing) $ cat typecast_2.cocci @@ type T; T *foo; …

Lire la suite

mwifiex: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Acked-by: Bing Zhao Signed-off-by: John W. Linville — drivers/net/wireless/mwifiex/pcie.c | 6 +++— drivers/net/wireless/mwifiex/scan.c …

Lire la suite

carl9170: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Signed-off-by: John W. Linville — drivers/net/wireless/ath/carl9170/rx.c | 2 +- 1 file changed, 1 …

Lire la suite

qlcnic: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Acked-by: Shahed Shaikh Signed-off-by: David S. Miller — drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +- 1 …

Lire la suite

alx: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Signed-off-by: David S. Miller — drivers/net/ethernet/atheros/alx/main.c | 2 +- 1 file changed, 1 …

Lire la suite

altera: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ – (T *)foo + foo Signed-off-by: Joe Perches Acked-by: Vince Bridgers Signed-off-by: David S. Miller — drivers/net/ethernet/altera/altera_tse_main.c | 4 ++– 1 …

Lire la suite

rtlwifi: Remove addressof casts to same type

Author: Joe Perches <joe@perches.com> Using addressof then casting to the original type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast.cocci @@ type T; T foo; @@ – (T *)&foo + &foo Signed-off-by: Joe Perches Signed-off-by: John W. Linville — drivers/net/wireless/rtlwifi/pci.c | 4 ++– drivers/net/wireless/rtlwifi/rtl8188ee/hw.c | 9 ++++—– drivers/net/wireless/rtlwifi/rtl8723ae/hw.c | …

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.