Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp835095rdb; Sat, 6 Jan 2024 11:10:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiyP8W3WbtYffSO73TVAm02bgn4iJpTj/8MoeIXcFLPkk8EBoK1QQF81CndwHaV5SO1oWT X-Received: by 2002:a05:6871:3414:b0:205:ffca:b185 with SMTP id nh20-20020a056871341400b00205ffcab185mr1540792oac.42.1704568222520; Sat, 06 Jan 2024 11:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704568222; cv=none; d=google.com; s=arc-20160816; b=I3obratwrqRDmj9nzQkbKORO7qQzKfY4+yBVlnzrDv45dMPlIqkNCWmEArZ94nI+rn poMvBrQ5BPSTlZGiPPFA2Qi6g0izUKuC3B00Ic3zy1DMTTmECK1lCCWxmrHEoalZ6LSr +lYN0sEWlpsHytggWkVo8/wP5CAR7aBI6AQLn1dm4Ya/6uyLSwrATm1vTHICGRsnO0Gu tnkTtPYApYDucdiU458u7pk3BBzqvcNfvSmYzXeoQhtUc8a+BQ3seK7pVy77S7gRm8jd bLqufwKHNik2hivJwuYfztotp24r/tXhh+IqcYsUosykDFKor5+flvK9DnJRt6BCHydL UA3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Sbroa4MYWLRN94dfDvWQ3/9Id1E1X5pZ13KIAyrTghM=; fh=KX8ceSzmuKVkh0wRg5pxCMwM2bS6LuIeSN+aKE8Hp84=; b=Ak9UPbtUVd5myBpLngLi/gVkAuIb9VDMlfdEOPfQLxJJYDq8IJJh0D3C0J3D1eC6ZI mh9XsMifBncUlcS8UMpxePpUkvX//jo8F7pzxiRKAkgXIROQk0r3EvTUVyNo3jkQdH3X mcOZOMbzKq85p4jcv4BaARF7hvuuqAot910hlvtmRR866TJG8rT8XkG9Jzf45MdwgKQC yE65jvB/xrUiNsqIltTQd6uhiVpHjgkizDw9NdgjtPrjmXJsBopcBDbHnIEa32TznYF6 X3/H6VzvtY3O0Ae37+c9v07LD2VHrM1xOgwvdXHUGz+ZWsY/7ZRimI11vv5JWZ+3XJ4n D5bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dMg9zbxJ; spf=pass (google.com: domain of linux-kernel+bounces-18697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t37-20020a632265000000b005cdfd4e1a7csi3452463pgm.462.2024.01.06.11.10.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 11:10:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dMg9zbxJ; spf=pass (google.com: domain of linux-kernel+bounces-18697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A41C5B22975 for ; Sat, 6 Jan 2024 19:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E812CF507; Sat, 6 Jan 2024 19:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dMg9zbxJ" X-Original-To: linux-kernel@vger.kernel.org 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 20E8FE549; Sat, 6 Jan 2024 19:09:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65AB4C433C7; Sat, 6 Jan 2024 19:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704568196; bh=dP2nZH701L9TMAqVguGNOhHDKbiRw3c3croztrjhPDs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dMg9zbxJfxWtMuqrx1NETpg+utc0fs1IQ7eJNvYv8yk2Gudc+7wj96pG4ZJ47Heng x9dPkZUHGtpnzllsIbNCUKF0IjYcpncdhruN+JaX2abSdWE/7Gvfarho5Q1oUOPG/2 w/C/lULoXjVj8l+aTjRdRTQ3sOVpDrYm4avauf+ZetSbdjgJu2VrmPrA1RnqGIHM4y OOS2ioFssdTDZWRNCdwKdnZqWbvmCc1F2Y7IGeiF+ONI5yS9HH+DTFBql/Oh7HMxwJ eMcb1g+AsvPD/54cBb5uOW0lZSi4ElqHWHzgpdH6a04cw1rgSinqzrzP/xzq5hVe/b 86pjjj1pjT2xQ== Date: Sat, 6 Jan 2024 19:09:51 +0000 From: Simon Horman To: Christophe JAILLET Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , alexis.lothore@bootlin.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 2/2 net-next] ipvlan: Remove usage of the deprecated ida_simple_xx() API Message-ID: <20240106190951.GG31813@kernel.org> References: <5adda8a3ce7af63bc980ba6b4b3fbfd6344e336b.1704446747.git.christophe.jaillet@wanadoo.fr> <216fe71e690580aede0d3def17b767d9559edd3a.1704446747.git.christophe.jaillet@wanadoo.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <216fe71e690580aede0d3def17b767d9559edd3a.1704446747.git.christophe.jaillet@wanadoo.fr> On Fri, Jan 05, 2024 at 10:27:09AM +0100, Christophe JAILLET wrote: > ida_alloc() and ida_free() should be preferred to the deprecated > ida_simple_get() and ida_simple_remove(). > > This is less verbose. > > Note that the upper bound of ida_alloc_range() is inclusive while the one > of ida_simple_get() was exclusive. So calls have been updated accordingly. > > Signed-off-by: Christophe JAILLET Reviewed-by: Simon Horman