From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 002144266A2 for ; Mon, 29 Jun 2026 14:42:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782744180; cv=none; b=iIR/NFRmCtgIsuQz1RXOy5m21xuiv//XDQf7WTaO1v6rURKyCRSdljMerKiNa0XcFuyXfGCg6T/7+wiP0wDrl7vcRBBT4lyhJ29e4tk5eDxdTruCCLK/POWPEcJHGGXXiAfGRhUR2kcbx8xBJI8rTsRe+++R621L9+HmtlfeGo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782744180; c=relaxed/simple; bh=FS9FVDoSljj7vDAdBiUk2IU6yqq/3+a/1vOfKA+wXEw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JgvaQ7ibSJZGGuIHKYpqzE74wzRqhHkLALpqxPrF35/u2pjbdZc465bjw/XFxZXLPq80LX6oONEgjpO5xa+0/NRSiuZ5PL/qGPkb8E4Mdlo4BUaTjjF5h65y4LG9oqXO0LvWDR4iRQB524DvfWCHHURrbD9IGCAYL5H1UtpUh90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=qrThgDT7; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="qrThgDT7" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=ySvyaqBnJby490O44Q0qs0efkhX6UCzOyNrGR/pLA+A=; b=qrThgDT7T+qLjUW7NtCaIPDxR6 H+f4CiE0uFscF2d1FkLX8vOILKZtLgIMKytb6Q4kjWE3NJpxEucm3NXickzulpMfm/uAcIUMiDqyg xfyeEmrvwwlINNe+qbK9WhlDKTIFjiJ3nyoPABGcmuPp0jX++0z5mSZA+CP9/lhyT9AJbGd+xv+mH nsvr7TOrZv7RgVFi/TlqUdrZrakwJqWcwcEiFpkdmWwmM9IYdnP+wBP4Lb5BpvpE/J5Fd3Tm2B/Xn 1ki6IiNIlnNaSI5OWOp/BiuR57uOZKVpqkE9WwGtvHR5kjTSeufR6Ss0YuRYpidalqWoHvdhTtbpU HIUdKZCg==; Received: from [38.23.173.23] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1weDCM-0000000EuhF-0Mxo; Mon, 29 Jun 2026 14:42:58 +0000 From: "Liam R. Howlett (Oracle)" To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org, "Liam R. Howlett (Oracle)" , Joe Perches Subject: [PATCH 16/18] maple_tree: Change two GFP flags in tests Date: Mon, 29 Jun 2026 10:41:43 -0400 Message-ID: <20260629144145.1572283-17-liam@infradead.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260629144145.1572283-1-liam@infradead.org> References: <20260629144145.1572283-1-liam@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The GFP flags in two tests are obviously incorrect. Make the tests correctly run by updating the GFP flags. Link: https://lore.kernel.org/all/d9cbb89faa5bdb71d451781d214a51ce8923a83e.camel@perches.com/ Reported-by: Joe Perches Signed-off-by: Liam R. Howlett (Oracle) --- tools/testing/radix-tree/maple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/radix-tree/maple.c b/tools/testing/radix-tree/maple.c index 0607913a3022d..d967e76a3c065 100644 --- a/tools/testing/radix-tree/maple.c +++ b/tools/testing/radix-tree/maple.c @@ -35234,7 +35234,7 @@ static noinline void __init check_prealloc(struct maple_tree *mt) mt_set_non_kernel(1); /* Spanning store */ mas_set_range(&mas, 1, 100); - MT_BUG_ON(mt, mas_preallocate(&mas, ptr, GFP_KERNEL & GFP_NOWAIT) == 0); + MT_BUG_ON(mt, mas_preallocate(&mas, ptr, GFP_NOWAIT) == 0); allocated = mas_allocated(&mas); height = mas_mt_height(&mas); MT_BUG_ON(mt, allocated != 0); @@ -35257,7 +35257,7 @@ static noinline void __init check_prealloc(struct maple_tree *mt) MT_BUG_ON(mt, mas_allocated(&mas) != 0); mas_set_range(&mas, 0, 200); mt_set_non_kernel(1); - MT_BUG_ON(mt, mas_preallocate(&mas, ptr, GFP_KERNEL & GFP_NOWAIT) == 0); + MT_BUG_ON(mt, mas_preallocate(&mas, ptr, GFP_NOWAIT) == 0); allocated = mas_allocated(&mas); height = mas_mt_height(&mas); MT_BUG_ON(mt, allocated != 0); -- 2.47.3