* [PATCH] mm, memory_failure: remove a stray tab
@ 2018-06-05 8:16 Dan Carpenter
2018-06-06 5:53 ` Naoya Horiguchi
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2018-06-05 8:16 UTC (permalink / raw)
To: Naoya Horiguchi, Dan Williams; +Cc: linux-mm, kernel-janitors
The return statement is indented too far.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index de0bc897d6e7..72cde4b0939e 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -1147,7 +1147,7 @@ static unsigned long dax_mapping_size(struct address_space *mapping,
if (page->mapping != mapping) {
xa_unlock_irq(&mapping->i_pages);
i_mmap_unlock_read(mapping);
- return 0;
+ return 0;
}
vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) {
unsigned long address = vma_address(page, vma);
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] mm, memory_failure: remove a stray tab
2018-06-05 8:16 [PATCH] mm, memory_failure: remove a stray tab Dan Carpenter
@ 2018-06-06 5:53 ` Naoya Horiguchi
0 siblings, 0 replies; 2+ messages in thread
From: Naoya Horiguchi @ 2018-06-06 5:53 UTC (permalink / raw)
To: Dan Carpenter; +Cc: Dan Williams, linux-mm, kernel-janitors
On Tue, Jun 05, 2018 at 11:16:16AM +0300, Dan Carpenter wrote:
> The return statement is indented too far.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks!
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
>
> diff --git a/mm/memory-failure.c b/mm/memory-failure.c
> index de0bc897d6e7..72cde4b0939e 100644
> --- a/mm/memory-failure.c
> +++ b/mm/memory-failure.c
> @@ -1147,7 +1147,7 @@ static unsigned long dax_mapping_size(struct address_space *mapping,
> if (page->mapping != mapping) {
> xa_unlock_irq(&mapping->i_pages);
> i_mmap_unlock_read(mapping);
> - return 0;
> + return 0;
> }
> vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) {
> unsigned long address = vma_address(page, vma);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-06 5:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 8:16 [PATCH] mm, memory_failure: remove a stray tab Dan Carpenter
2018-06-06 5:53 ` Naoya Horiguchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox