lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171227055512.GA32731@MacBook-Air>
Date:   Tue, 26 Dec 2017 21:55:16 -0800
From:   JI-HUN KIM <jihuun.k@...il.com>
To:     samuel@...tiz.org
Cc:     gregkh@...uxfoundation.org, davem@...emloft.net,
        shreeya.patel23498@...il.com, netdev@...r.kernel.org,
        devel@...verdev.osuosl.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] staging: irda: separate multiple assignments

Clean up checkpatch warning:
CHECK: multiple assignments should be avoided

Signed-off-by: JI-HUN KIM <jihuun.k@...il.com>
---
 drivers/staging/irda/drivers/esi-sir.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/irda/drivers/esi-sir.c b/drivers/staging/irda/drivers/esi-sir.c
index 00866a3..01097f1 100644
--- a/drivers/staging/irda/drivers/esi-sir.c
+++ b/drivers/staging/irda/drivers/esi-sir.c
@@ -104,7 +104,8 @@ static int esi_change_speed(struct sir_dev *dev, unsigned int speed)
 		rts = FALSE;
 		break;
 	case 115200:
-		dtr = rts = TRUE;
+		dtr = TRUE;
+		rts = TRUE;
 		break;
 	default:
 		ret = -EINVAL;
-- 
2.10.1 (Apple Git-78)

Powered by blists - more mailing lists