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 4557EC433EF for ; Tue, 22 Mar 2022 13:22:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235438AbiCVNXm (ORCPT ); Tue, 22 Mar 2022 09:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235431AbiCVNXh (ORCPT ); Tue, 22 Mar 2022 09:23:37 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DCB981669 for ; Tue, 22 Mar 2022 06:22:10 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id B1CC31F38F; Tue, 22 Mar 2022 13:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1647955328; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9t6lltrGxIgKenyYCK42O05RztEfzpXbePiJ4TyBJCo=; b=cgaQK10CyWoA6PIOmAmqAusGfKNzSxtarmbGix6UDrSEgrO7am8saVy9YwplrnerApN5+k CNMAJg8lTD7kfcZFQBQlBWssFcNKRv2xviNdzWfl2c3zraYHw6alN0k9RqAkVgPMU8P42z JfIiVc7kzNscYJ9HSWHfPcJ6wP1o/Gc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1647955328; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9t6lltrGxIgKenyYCK42O05RztEfzpXbePiJ4TyBJCo=; b=L28DjZ0jflBcdSaBWYsTo3ZlDRJzEHFIibBjGwnG8QPfk8d7FEgUU8Xk/pR6KGQ6znZyRb 7XIg9o00ad43G+DA== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 8358FA3B92; Tue, 22 Mar 2022 13:22:08 +0000 (UTC) Date: Tue, 22 Mar 2022 14:22:08 +0100 Message-ID: From: Takashi Iwai To: Vincent Mailhol Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , Clemens Ladisch Subject: Re: [PATCH v4 7/9] sound: usb: remove third argument of usb_maxpacket() In-Reply-To: <20220317035514.6378-8-mailhol.vincent@wanadoo.fr> References: <20220304105420.1059585-1-mailhol.vincent@wanadoo.fr> <20220317035514.6378-1-mailhol.vincent@wanadoo.fr> <20220317035514.6378-8-mailhol.vincent@wanadoo.fr> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Thu, 17 Mar 2022 04:55:12 +0100, Vincent Mailhol wrote: > > The third argument of usb_maxpacket(): in_out has been deprecated > because it could be derived from the second argument (e.g. using > usb_pipeout(pipe)). > > N.B. function usb_maxpacket() was made variadic to accommodate the > transition from the old prototype with three arguments to the new one > with only two arguments (so that no renaming is needed). The variadic > argument is to be removed once all users of usb_maxpacket() get > migrated. > > CC: Jaroslav Kysela > CC: Takashi Iwai > CC: Clemens Ladisch > Signed-off-by: Vincent Mailhol Acked-by: Takashi Iwai thanks, Takashi