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: <20171227055412.GA32724@MacBook-Air>
Date:   Tue, 26 Dec 2017 21:54: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 2/3] staging: irda: add spaces around '|' operator

Clean up checkpatch warning:
CHECK: spaces preferred around that '|' (ctx:VxV)

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

diff --git a/drivers/staging/irda/drivers/esi-sir.c b/drivers/staging/irda/drivers/esi-sir.c
index a12cf55..00866a3 100644
--- a/drivers/staging/irda/drivers/esi-sir.c
+++ b/drivers/staging/irda/drivers/esi-sir.c
@@ -69,7 +69,7 @@ static int esi_open(struct sir_dev *dev)
 	/* Power up and set dongle to 9600 baud */
 	sirdev_set_dtr_rts(dev, FALSE, TRUE);
 
-	qos->baud_rate.bits &= IR_9600|IR_19200|IR_115200;
+	qos->baud_rate.bits &= IR_9600 | IR_19200 | IR_115200;
 	qos->min_turn_time.bits = 0x01; /* Needs at least 10 ms */
 	irda_qos_bits_to_value(qos);
 
-- 
2.10.1 (Apple Git-78)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ