From: devesh pradhan <devesh.pradh...@gmail.com>

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

Signed-off-by: devesh pradhan <devesh.pradh...@gmail.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

Reply via email to