From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DFD02BE74; Mon, 15 Jan 2024 09:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F0WLKGlP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E698C433F1; Mon, 15 Jan 2024 09:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705311139; bh=EUbyyrzizKWV7tZWYqLr1hFwC5pmgEDRqzEzAM8p/50=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F0WLKGlP3jvrI7bH0mxt8zNzWKCt8KBNoF196gWk/Pk9PoPpNtKP2lepDjXtd/oRC +sEj7TxTsMWN2h6tpw8DYVCVJGFLfUK5+XbUZvt47coV8rZ+Z9kayZdz/lxNDNE7fn sJD+xtKER/YM4juDGT1+MHXC+oIKwrdFNSDYTqoELuuvckUwV6wLvUTrYdMHf5foNi iEVzd4cHy7690nNKKx3D6ZJTh2W/q2m1w8lLakQHOwysTmO/KT6T0W9kM6EkWA6rYh stpcE4cq1FiX8bmk53o97HLc2auUAhSFrh/GZE8Op6xMIDxoqA6+imf1PslhyiDkBA Kmi92CEGuknRw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rPJKK-00BjiS-UA; Mon, 15 Jan 2024 09:32:17 +0000 Date: Mon, 15 Jan 2024 09:32:15 +0000 Message-ID: <86y1cr7xi8.wl-maz@kernel.org> From: Marc Zyngier To: Christophe JAILLET Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] irqchip/gic-v3-its: Remove usage of the deprecated ida_simple_xx() API In-Reply-To: <3b472b0e7edf6e483b8b255cf8d1cb0163532adf.1705222332.git.christophe.jaillet@wanadoo.fr> References: <3b472b0e7edf6e483b8b255cf8d1cb0163532adf.1705222332.git.christophe.jaillet@wanadoo.fr> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: christophe.jaillet@wanadoo.fr, tglx@linutronix.de, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Sun, 14 Jan 2024 08:52:39 +0000, Christophe JAILLET wrote: > > ida_alloc() and ida_free() should be preferred to the deprecated > ida_simple_get() and ida_simple_remove(). > > Note that the upper limit of ida_simple_get() is exclusive, but the one of > ida_alloc_max() is inclusive. So a -1 has been added when needed. > > Signed-off-by: Christophe JAILLET Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.