+ mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/gup: remove unused variable in siw_free_plist()
has been added to the -mm tree.  Its filename is
     mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: John Hubbard <jhubbard@xxxxxxxxxx>
Subject: mm/gup: remove unused variable in siw_free_plist()

63630f9a8d72 ("mm/gup: add make_dirty arg to put_user_pages_dirty_lock()")
removed the only user of the local variable p.  Finish the job by removing
p as well.

Link: http://lkml.kernel.org/r/20190729074306.10368-1-jhubbard@xxxxxxxxxx
Fixes: 63630f9a8d72 ("mm/gup: add make_dirty arg to put_user_pages_dirty_lock()")
Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/infiniband/sw/siw/siw_mem.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/infiniband/sw/siw/siw_mem.c~mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix
+++ a/drivers/infiniband/sw/siw/siw_mem.c
@@ -63,8 +63,6 @@ struct siw_mem *siw_mem_id2obj(struct si
 static void siw_free_plist(struct siw_page_chunk *chunk, int num_pages,
 			   bool dirty)
 {
-	struct page **p = chunk->plist;
-
 	put_user_pages_dirty_lock(chunk->plist, num_pages, dirty);
 }
 
_

Patches currently in -mm which might be from jhubbard@xxxxxxxxxx are

mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock.patch
mm-gup-add-make_dirty-arg-to-put_user_pages_dirty_lock-fix.patch
drivers-gpu-drm-via-convert-put_page-to-put_user_page.patch
net-xdp-convert-put_page-to-put_user_page.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux