From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A49CCC43219 for ; Fri, 27 May 2022 12:08:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240256AbiE0MHw (ORCPT ); Fri, 27 May 2022 08:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353661AbiE0MGK (ORCPT ); Fri, 27 May 2022 08:06:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC53166887; Fri, 27 May 2022 04:55:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F37BF61E07; Fri, 27 May 2022 11:55:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2485C385A9; Fri, 27 May 2022 11:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1653652512; bh=WpanfLAOGrD7hytn+v8GPcDOtNTViLE3XXQJ7O55lwE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=btxJrZ+6li3ZjV5RvC7RFXUxYkiojd7rpXq8tr+Q502eeAZuhEqcElveXUoIPawJ7 FUAlX9Sf216lnv0VsYwgIB97iPY9XQ9vYyjp28QHONbfwntdAb9e5Fr/wIgead/0df FmqZPGLQ87sLKLoLaJKq0e2I/gJ5yN8m8pU0eHvI= Date: Fri, 27 May 2022 10:52:26 +0200 From: Greg KH To: keliu Cc: peter.chen@kernel.org, balbi@kernel.org, heikki.krogerus@linux.intel.com, mdevaev@gmail.com, maze@google.com, ruslan.bilovol@gmail.com, phil@raspberrypi.com, libaokun1@huawei.com, dan.carpenter@oracle.com, akpm@linux-foundation.org, brauner@kernel.org, songmuchun@bytedance.com, dh10.jung@samsung.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: usb: Directly use ida_alloc()/free() Message-ID: References: <20220527090800.2881397-1-liuke94@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220527090800.2881397-1-liuke94@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Fri, May 27, 2022 at 09:08:00AM +0000, keliu wrote: > Use ida_alloc()/ida_free() instead of deprecated > ida_simple_get()/ida_simple_remove() . > > Signed-off-by: keliu I need a real name here, one that you use to sign legal documents. > --- > drivers/usb/chipidea/core.c | 6 +++--- > drivers/usb/gadget/function/f_hid.c | 6 +++--- > drivers/usb/gadget/function/f_printer.c | 6 +++--- > drivers/usb/gadget/function/rndis.c | 4 ++-- > drivers/usb/typec/class.c | 8 ++++---- Please break this up into one-per-driver. thanks, greg k-h