All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, songmuchun@bytedance.com,
	mike.kravetz@oracle.com, david@redhat.com,
	abaci@linux.alibaba.com, yang.lee@linux.alibaba.com,
	akpm@linux-foundation.org
Subject: [obsolete] mm-hugetlb-stop-using-0-as-null-pointer.patch removed from -mm tree
Date: Tue, 22 Nov 2022 12:57:48 -0800	[thread overview]
Message-ID: <20221122205749.3C2FCC433C1@smtp.kernel.org> (raw)


The quilt patch titled
     Subject: mm/hugetlb: stop using 0 as NULL pointer
has been removed from the -mm tree.  Its filename was
     mm-hugetlb-stop-using-0-as-null-pointer.patch

This patch was dropped because it is obsolete

------------------------------------------------------
From: Yang Li <yang.lee@linux.alibaba.com>
Subject: mm/hugetlb: stop using 0 as NULL pointer
Date: Mon, 21 Nov 2022 18:20:37 +0800

mm/hugetlb.c:1531:37: warning: Using plain integer as NULL pointer

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3224
Link: https://lkml.kernel.org/r/20221121102037.75307-1-yang.lee@linux.alibaba.com
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/hugetlb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/hugetlb.c~mm-hugetlb-stop-using-0-as-null-pointer
+++ a/mm/hugetlb.c
@@ -1530,7 +1530,7 @@ static void add_hugetlb_page(struct hsta
 	}
 
 	set_compound_page_dtor(page, HUGETLB_PAGE_DTOR);
-	set_page_private(page, 0);
+	set_page_private(page, NULL);
 	/*
 	 * We have to set HPageVmemmapOptimized again as above
 	 * set_page_private(page, 0) cleared it.
_

Patches currently in -mm which might be from yang.lee@linux.alibaba.com are

migrate-stop-using-0-as-null-pointer.patch
lib-objpool-added-ring-array-based-lockless-mpmc-queue-fix.patch


                 reply	other threads:[~2022-11-22 20:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221122205749.3C2FCC433C1@smtp.kernel.org \
    --to=akpm@linux-foundation.org \
    --cc=abaci@linux.alibaba.com \
    --cc=david@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.kravetz@oracle.com \
    --cc=mm-commits@vger.kernel.org \
    --cc=songmuchun@bytedance.com \
    --cc=yang.lee@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.