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: <20210312093033.65390-1-vulab@iscas.ac.cn>
Date:   Fri, 12 Mar 2021 09:30:33 +0000
From:   Xu Wang <vulab@...as.ac.cn>
To:     zbr@...emap.net
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] w1: Remove extra brackets

Remove extra brackets.

Signed-off-by: Xu Wang <vulab@...as.ac.cn>
---
 drivers/w1/w1_int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c
index b3e1792d9c49..eee4b5b652f1 100644
--- a/drivers/w1/w1_int.c
+++ b/drivers/w1/w1_int.c
@@ -102,7 +102,7 @@ int w1_add_master_device(struct w1_bus_master *master)
 	    !(master->write_bit && master->read_bit) &&
 	    !(master->write_byte && master->read_byte && master->reset_bus)) {
 		pr_err("w1_add_master_device: invalid function set\n");
-		return(-EINVAL);
+		return -EINVAL;
 	}
 
 	/* Lock until the device is added (or not) to w1_masters. */
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ