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: <20171217082713.5252-1-devesh.pradhan1@gmail.com>
Date:   Sun, 17 Dec 2017 13:57:13 +0530
From:   devesh.pradhan1@...il.com
To:     dave.jiang@...el.com
Cc:     linux-kernel@...r.kernel.org,
        devesh pradhan <devesh.pradhna1@...il.com>
Subject: [PATCH 2/2] mm: filemap: fixed a "foo * bar" and added tab coding style issue

From: devesh pradhan <devesh.pradhna1@...il.com>

Fixed a "foo * bar" and add tab coding style issue

Signed-off-by: devesh pradhan <devesh.pradhna1@...il.com>
---
 mm/filemap.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index a49702445ce0..e14d62876980 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2170,8 +2170,7 @@ generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter)
 				return -EAGAIN;
 		} else {
 			retval = filemap_write_and_wait_range(mapping,
-						iocb->ki_pos,
-					        iocb->ki_pos + count - 1);
+						iocb->ki_pos, iocb->ki_pos + count - 1);
 			if (retval < 0)
 				goto out;
 		}
@@ -2569,7 +2568,7 @@ const struct vm_operations_struct generic_file_vm_ops = {
 
 /* This is used for a general mmap of a disk file */
 
-int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
+int generic_file_mmap(struct file *file, struct vm_area_struct *vma)
 {
 	struct address_space *mapping = file->f_mapping;
 
@@ -2590,11 +2589,11 @@ int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma)
 	return generic_file_mmap(file, vma);
 }
 #else
-int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
+int generic_file_mmap(struct file *file, struct vm_area_struct *vma)
 {
 	return -ENOSYS;
 }
-int generic_file_readonly_mmap(struct file * file, struct vm_area_struct * vma)
+int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma)
 {
 	return -ENOSYS;
 }
@@ -3030,7 +3029,7 @@ EXPORT_SYMBOL(generic_perform_write);
 ssize_t __generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
 {
 	struct file *file = iocb->ki_filp;
-	struct address_space * mapping = file->f_mapping;
+	struct address_space *mapping = file->f_mapping;
 	struct inode 	*inode = mapping->host;
 	ssize_t		written = 0;
 	ssize_t		err;
-- 
2.14.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ