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: <20220906153255.6688-1-jingyuwang_vip@163.com>
Date:   Tue,  6 Sep 2022 23:32:55 +0800
From:   Jingyu Wang <jingyuwang_vip@....com>
To:     mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
        Jingyu Wang <jingyuwang_vip@....com>
Subject: [PATCH] powerpc: remove redundant space

This commit remmove redundant space in arch/powerpc/sysdev/mmio_nvram.c

Signed-off-by: Jingyu Wang <jingyuwang_vip@....com>
---
 arch/powerpc/sysdev/mmio_nvram.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/sysdev/mmio_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c
index eb48210ef98e..cc15b161ada6 100644
--- a/arch/powerpc/sysdev/mmio_nvram.c
+++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -35,7 +35,7 @@ static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index)
 	memcpy_fromio(buf, mmio_nvram_start + *index, count);
 
 	spin_unlock_irqrestore(&mmio_nvram_lock, flags);
-	
+
 	*index += count;
 	return count;
 }
@@ -71,7 +71,7 @@ static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index)
 	memcpy_toio(mmio_nvram_start + *index, buf, count);
 
 	spin_unlock_irqrestore(&mmio_nvram_lock, flags);
-	
+
 	*index += count;
 	return count;
 }
@@ -117,7 +117,7 @@ int __init mmio_nvram_init(void)
 	}
 	nvram_addr = r.start;
 	mmio_nvram_len = resource_size(&r);
-	if ( (!mmio_nvram_len) || (!nvram_addr) ) {
+	if ((!mmio_nvram_len) || (!nvram_addr)) {
 		printk(KERN_WARNING "nvram: address or length is 0\n");
 		ret = -EIO;
 		goto out;

base-commit: e47eb90a0a9ae20b82635b9b99a8d0979b757ad8
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ