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]
Date:	Mon, 30 Mar 2015 22:54:52 +0200
From:	Fabian Frederick <fabf@...net.be>
To:	linux-kernel@...r.kernel.org
Cc:	Fabian Frederick <fabf@...net.be>,
	Jan Harkes <jaharkes@...cmu.edu>, coda@...cmu.edu,
	codalist@...a.cs.cmu.edu
Subject: [PATCH 1/1 linux-next] fs/coda/psdev.c: return is not a function

remove parentheses in returns.

Signed-off-by: Fabian Frederick <fabf@...net.be>
---
 fs/coda/psdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index 8226291..8914ec8 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -193,7 +193,7 @@ static ssize_t coda_psdev_write(struct file *file, const char __user *buf,
 
         wake_up(&req->uc_sleep);
 out:
-        return(count ? count : retval);  
+	return count ? count : retval;
 }
 
 /*
@@ -261,7 +261,7 @@ static ssize_t coda_psdev_read(struct file * file, char __user * buf,
 	kfree(req);
 out:
 	mutex_unlock(&vcp->vc_mutex);
-	return (count ? count : retval);
+	return count ? count : retval;
 }
 
 static int coda_psdev_open(struct inode * inode, struct file * file)
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ