Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1092198rwb; Tue, 27 Sep 2022 08:18:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+aN37X3l0D+3wh2UQJB4RSefx2y5u6qvsCcJL9yOjbX2pfACIvEjsHDXqlDYRWIX1vjAP X-Received: by 2002:a05:6a00:1f13:b0:546:7b39:83da with SMTP id be19-20020a056a001f1300b005467b3983damr30350437pfb.0.1664291920897; Tue, 27 Sep 2022 08:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664291920; cv=none; d=google.com; s=arc-20160816; b=p7uDDzh5t+lOo9nsk131PY3WgNPxxnYvZ1sPIkKT6CjzIyOS1HHZkUuUmvlmZ9t0Vj LGf4Q068iXNQDnetPobFAKDSNtLmFGqREN2dBQIeykSVU19Z0nlP990yfasA3NfJhU5R wQojJWe0bZOBuuJXlwnVy1Z7vIY/CdtcHLYtQC7/D0Jmct2yZYTdOujHNw8bqbNuX7MF wCjCoViUIFeoMNvsVTqxjdLcqjsxn1nYjgsaXKQpp/afrh82TO7ICe4zPwyXdMk5Jnop FkKCjbBXhrUJJCR4XJ+soY8lXiD4zUr9YhnrC7BbGXdRrouWiKJIHf9+nqobwZc5i7M8 8xow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hXlpoPjXUYqfTCCTppdWcwW+T5QWKAe1Tf0ikgwGADk=; b=gGhdFobw6+Y65HA/Apzmntj5Y66/IWo3EEemLy1H9nl3guLNibq1g4y4iZ0yU2Cszx B7OSGMoQ1rLG7MZIjWnVW7F+N7b91plvZ3WBiuJbXqNsyHa1Vk2YTDowzC6v66Jd1LkL pR1+CRJXUQBA6th83e7+0oyuNhz8uUvj06/BFZosQQwB3NB8yNIWnxgxpSEYw1zFAlGr VY8jgkIQpI1iTkjEypzChgWN6ByHICl1tKX89Ero+Lti85FiBqso21Ip29icgakbEPAQ fCfzdEY/FkEEFohL+R7f11w1lhU4eaS0u6hbQ9/j7I+TEvsShd2650dtwmsk9RN9GgPp MLPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jfK2ySuv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e20-20020a170902f1d400b001746ff6ee6dsi1855096plc.413.2022.09.27.08.18.27; Tue, 27 Sep 2022 08:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jfK2ySuv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbiI0PFk (ORCPT + 99 others); Tue, 27 Sep 2022 11:05:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbiI0PFb (ORCPT ); Tue, 27 Sep 2022 11:05:31 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FF8B81B39; Tue, 27 Sep 2022 08:05:27 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id u59-20020a17090a51c100b00205d3c44162so2664308pjh.2; Tue, 27 Sep 2022 08:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=hXlpoPjXUYqfTCCTppdWcwW+T5QWKAe1Tf0ikgwGADk=; b=jfK2ySuvfYwd8+3MMkaECGS+wpBX9cWHQGhCg5yaefvd70jZLyoGR0SI9I0Ntvhzta M0J2UCZ+0zMQmIir28FnWWetEjgZ/H97tCSTV9Ut6SVAdbFJU2NYMRKOMmSHxiPxy2dZ v98oxpbsEc2SUdSbRdDHiUKl1nqgm4wYo7nQtWaauLYMA7YFbIQJ+fLGOc4VWa7tXKlj Q92GRBgF7k23kWcqNeBB13wtnzOE5JYRupPJx0h7dVppzM2C/It8EUG/5pAtcOCDHPSg qwgX4bxHdOmoc3nLsw/B9hTLmz0MLm/kUEGSUPXi5U2w2f4tATAZokrUHZcyf71K+A7K lgKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=hXlpoPjXUYqfTCCTppdWcwW+T5QWKAe1Tf0ikgwGADk=; b=JfqK/YAMkIgvsY4Nzhp+gh2dTqDnInInYMAu3GiQRUq2p9YfG94/InzoKOVU8b0iAV hTzIr2PCWaCwufuyYrOyTztO3zB0eKw7XTyU0ubgYhHuOS6a2k6f/5xSH+2ExRf7KDlC 6Hh/xI+tYZjvhF3FQoRmzPRsohAl/J8X0TnuruygiZb/bp4VMmlREJk5GfIxdIqvgyKx Rsh+V7mdXPwOy0FlblxpUVMCMKj8UFizdZ899M7tX34vNmsJp64x3z4Mu6zp+k2CMRYO q3M4IWTkIalwsvfNw6L1Pwbm4p2qtNJlcC38Avc9BPHHVEaodAUCF9x3qbnturnoExlz vyXA== X-Gm-Message-State: ACrzQf0cP/92Uo9TX195IhwI8sCxK3R5jeWJIzcirrdhon1aXHKceyoJ FHbheJWUCKnPYjpQBZxroXa0TtgIZv0= X-Received: by 2002:a17:902:ed82:b0:178:5653:ecfb with SMTP id e2-20020a170902ed8200b001785653ecfbmr27670576plj.58.1664291126461; Tue, 27 Sep 2022 08:05:26 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:640:8200:33:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id n5-20020aa79845000000b0053abb15b3d9sm1954237pfq.19.2022.09.27.08.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:05:25 -0700 (PDT) Date: Tue, 27 Sep 2022 08:05:23 -0700 From: Richard Cochran To: Bo Liu Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptp: Remove usage of the deprecated ida_simple_xxx API Message-ID: References: <20220926012744.3363-1-liubo03@inspur.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2022 at 08:01:28AM -0700, Richard Cochran wrote: > On Sun, Sep 25, 2022 at 09:27:44PM -0400, Bo Liu wrote: > > Use ida_alloc_xxx()/ida_free() instead of > > ida_simple_get()/ida_simple_remove(). > > The latter is deprecated and more verbose. > > I can't say that I am excited about this. It seems like a way to > create a regression. I don't see any need to change. After all, > there are many "deprecated" interfaces in use. /git/linux$ git grep ida_simple_get | wc -l 119 ~/git/linux$ git grep ida_simple_remove | wc -l 169 Please go take care of the other 100+ users of this API first, then come bother me again. Thanks, Richard