Catégorie : Linux

tty: synclink.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/synclink.c | 15 ++++++++++—– 1 file changed, 10 insertions(+), 5 deletions(-)   diff –git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index b799170..2fac712 100644 …

Lire la suite

tty: mpsc.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/mpsc.c | 25 ++++++++++++++++——— 1 file changed, 16 insertions(+), 9 deletions(-)   diff –git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c index 856fd5a..82bb6d1 100644 …

Lire la suite

tty: ioc4_serial.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: Pat Gefre CC: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/serial/ioc4_serial.c | 9 ++++++— 1 file changed, 6 insertions(+), 3 deletions(-)   diff –git a/drivers/tty/serial/ioc4_serial.c b/drivers/tty/serial/ioc4_serial.c …

Lire la suite

tty: ioc3_serial.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: Pat Gefre CC: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/serial/ioc3_serial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/tty/serial/ioc3_serial.c b/drivers/tty/serial/ioc3_serial.c …

Lire la suite

tty: icom.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/icom.c | 11 ++++++—– 1 file changed, 6 insertions(+), 5 deletions(-)   diff –git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index 45fc323..ffc7cb2 100644 …

Lire la suite

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

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.