Quentin LAMBERT

Articles de cet auteur

tty: hvcs.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Jiri Slaby CC: Masanari Iida Signed-off-by: Greg Kroah-Hartman — drivers/tty/hvc/hvcs.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c …

Lire la suite

tty: hvc_console.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Jiri Slaby CC: Tomoki Sekiyama CC: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman — drivers/tty/hvc/hvc_console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff …

Lire la suite

tty: crisv10.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Mikael Starvik CC: Jiri Slaby Signed-off-by: Greg Kroah-Hartman Acked-by: Jesper Nilsson — drivers/tty/serial/crisv10.c | 12 ++++++++—- 1 file changed, 8 insertions(+), 4 deletions(-)   diff …

Lire la suite

tty: consolemap.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Jiri Slaby CC: Takashi Iwai CC: Imre Deak Signed-off-by: Greg Kroah-Hartman — drivers/tty/vt/consolemap.c | 60 ++++++++++++++++++++++++++++—————– 1 file changed, 37 insertions(+), 23 deletions(-)   diff …

Lire la suite

tty: amiserial.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/amiserial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index 894d3a8..e53d9a5 100644 …

Lire la suite

tty: 68328serial.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/serial/68328serial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index 5dc9c4b..748c18f 100644 …

Lire la suite

Staging: iop.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Supriya Karanth CC: Somya Anand CC: Alan Cox Signed-off-by: Greg Kroah-Hartman — drivers/staging/i2o/iop.c | 9 ++++++— 1 file changed, 6 insertions(+), 3 deletions(-)   diff …

Lire la suite

Thermal: Intel SoC: fix simple_return.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/thermal/intel_soc_dts_iosf.c:358:4-7: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Srinivas Pandruvada Signed-off-by: Fengguang Wu Signed-off-by: Zhang Rui — drivers/thermal/intel_soc_dts_iosf.c | 7 +—— 1 file changed, 1 insertion(+), 6 deletions(-)   diff –git a/drivers/thermal/intel_soc_dts_iosf.c b/drivers/thermal/intel_soc_dts_iosf.c index d897876..42e4b6a 100644 …

Lire la suite

iwlwifi: pcie: simplify return value

Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com> This was spot by Coccinelle. Signed-off-by: Emmanuel Grumbach — drivers/net/wireless/iwlwifi/pcie/trans.c | 8 ++—— 1 file changed, 2 insertions(+), 6 deletions(-)   diff –git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index 5c523a7..a341ed9 100644 — a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c @@ -973,12 +973,8 @@ static int iwl_pcie_load_given_ucode_8000(struct iwl_trans *trans, return ret;   /* load to FW the binary sections …

Lire la suite

ASoC: adau1977: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> sound/soc/codecs/adau1977.c:496:5-8: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/codecs/adau1977.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/sound/soc/codecs/adau1977.c b/sound/soc/codecs/adau1977.c index c5b1b8e..3fb09c1 100644 — a/sound/soc/codecs/adau1977.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.