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 923E447D929 for ; Tue, 30 Jun 2026 19:09:16 +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=1782846557; cv=none; b=oe82JGqXG3+0piWcSFL+hl9/RpbT57/6wUfE7vd6l0ExLnXmle8OcUiph2KPB1M35XtM7KHSdZ1kWTPZNWAogoTjUKMrJEJfIBheZRcuq9OHdemUxWxi4YBdGkjr+6rfhxRQvb06x3YnRDOHOqyMMsl3JWt2NDA7+POlRSg5aKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782846557; c=relaxed/simple; bh=FS9FVDoSljj7vDAdBiUk2IU6yqq/3+a/1vOfKA+wXEw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pW33LRwfOzWzDCNuxkzlI8etxU1HEAG6XGvxoAwvr7mha6oABHnZ4HBTtxV/6T4uto7TIzivA0T5E9zENVKhBpQcKFpD6PfSdIds0tvCldP7Byhlzd7K9X0C00jgF193BAbkQUVVQqQjKZA1ybmaAPG9VmNr8Tl7GPbgcCxS5wA= 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=hv3BCoM8; 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="hv3BCoM8" 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=hv3BCoM8vhD3ocMbMRW9R3ul2v 7QY9ljFg2gkawpcfFGmEiMDJssl22em6nqlJdxIU80C3bD0G1tRyE/u515jayxUybath4UMOTvXNL zZjCBCmV3zGfSP6ChxqqGlCDlRmEbQN/eXHyYPTlAzgJjjvoE5p9o1r1xkX5lyohj8pbgiOxOQFYk PDvy8+UmQp76EYOi+zPmXxK4h2qj1JVQbAn6MiP9OP3uYTl+vm0U2ZEWu69riigKcObOBnp8YzCpX dLaHHXUtUTv3gvcE+gIGfyRdzXr1H3+UpP6/mNbYRx9NpRpVtGn4a5As//A6HDCe6lZi/TTcZ4LBs jaZbkLOw==; Received: from [38.23.173.23] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wedpb-0000000061T-3cX9; Tue, 30 Jun 2026 19:09:16 +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 v2 16/19] maple_tree: Change two GFP flags in tests Date: Tue, 30 Jun 2026 15:08:40 -0400 Message-ID: <20260630190843.3563858-17-liam@infradead.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260630190843.3563858-1-liam@infradead.org> References: <20260630190843.3563858-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