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 …