From nobody Tue Oct 7 07:20:53 2025 Received: from smtp.smtpout.orange.fr (smtp-71.smtpout.orange.fr [80.12.242.71]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB550242D62 for ; Mon, 14 Jul 2025 08:18:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.71 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752481095; cv=none; b=lpM7U5m8I9byQ68X4zyoyEVSggFvWw0CdKcN63ZurP15hlV8wkXfwVL4bhKKe3fbwnQMzNE2nD5ou83jmQDVtpo9PXY1ZCAEUCnkV4epPTCeC9d05JyQiseUJ6Uf4Q7pN9tQUnuea9lZHx/lCyoBLMdkfGqtR8zlVF3RCRvwyM4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752481095; c=relaxed/simple; bh=4UkhoCEI+OZdrHgP0Txy3tJqI9wFhRo8i5m72xMx17w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gxFjWmbLkyfxj9Nr7kJbCtNGlM2MFkZIrMVai1o6IGedoacDMzz1HomGi+y7Lo96TB3Hz9OtKfHvcD/3fPIszZxNNB1ch1jnwIUUycUwOc6OGUiX1w5yW20kd+SpenLWwo4TDPp+uOj55QCC9Lydy4nsg/GPSAQ48rU1YdzKtD8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=E67V9qC7; arc=none smtp.client-ip=80.12.242.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="E67V9qC7" Received: from fedora.home ([IPv6:2a01:cb10:785:b00:8347:f260:7456:7662]) by smtp.orange.fr with ESMTPA id bENfuHN2LILtwbEO3uVImY; Mon, 14 Jul 2025 10:18:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1752481092; bh=RnfKm2axSn6c9/D3xR+Q4qW13WDSptzOFVvdfV5HM1A=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=E67V9qC7Om8BeKti2vu/NHkKuTjjpJ6tRrVhkUFT61x71z8X7M89q6kneyKNf5mB0 mOMwcmmebuj6gkIjmDX0fZhh/wEc/OesCVJeXrle9UAd7m5moRFPxklwMHfs1rzTS7 oQTeK79JRQL7QRF9MxheL8nWhMpBVfTWNa/9coRM6dnfDtZFltLZIXxsjJwQOt2oUS d1X+4KtXUTvs8mEiZuB4uHCZWmrJ3W9N0+aK5AIkn4v67h9D147YQr7Or5+Y/rAslV B5hT5/+Xr92jf9NPidr6rDGnI7sxDeSJmhB+nuw2ijOFMPemKl+YkPoBw/CiU1rsm/ xAOKCcIcCwvvw== X-ME-Helo: fedora.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 14 Jul 2025 10:18:12 +0200 X-ME-IP: 2a01:cb10:785:b00:8347:f260:7456:7662 From: Christophe JAILLET To: willy@infradead.org, srini@kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH v3 2/3] ida: Remove the ida_simple_xxx() API Date: Mon, 14 Jul 2025 10:17:09 +0200 Message-ID: X-Mailer: git-send-email 2.50.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" All users of the ida_simple_xxx() have been converted. In Linux 6.11-rc2, the only callers are in tools/testing/. So it is now time to remove the definition of this old and deprecated ida_simple_get() and ida_simple_remove(). Signed-off-by: Christophe JAILLET --- Changes in v3: - Synch with latest -next v2: https://lore.kernel.org/all/2e9b298991fb8cd47815c917a8fc069b553cea10.17= 22853349.git.christophe.jaillet@wanadoo.fr/ Changes in v2: new patch --- include/linux/idr.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/linux/idr.h b/include/linux/idr.h index 2267902d29a7..789e23e67444 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h @@ -334,14 +334,6 @@ static inline void ida_init(struct ida *ida) xa_init_flags(&ida->xa, IDA_INIT_FLAGS); } =20 -/* - * ida_simple_get() and ida_simple_remove() are deprecated. Use - * ida_alloc() and ida_free() instead respectively. - */ -#define ida_simple_get(ida, start, end, gfp) \ - ida_alloc_range(ida, start, (end) - 1, gfp) -#define ida_simple_remove(ida, id) ida_free(ida, id) - static inline bool ida_is_empty(const struct ida *ida) { return xa_empty(&ida->xa); --=20 2.50.1