Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5213005ybl; Tue, 10 Dec 2019 02:24:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyYXserHUPuvmEkq7aXNP+k0Yo+x+CRuNvla+Ut8qBKG2LrUb4nlhW39YPAhWVcjE7RSIZy X-Received: by 2002:a9d:730e:: with SMTP id e14mr23810982otk.62.1575973454707; Tue, 10 Dec 2019 02:24:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575973454; cv=none; d=google.com; s=arc-20160816; b=xXsUt3/0itwURVIcna+kg0LLl5wwngfK2E43kZ1n/VXDPVJNIlaYF/46wfM8+rCPBl wE5o4z9ahk2PuspNVLBOH2d4OBcr4HVnQRgYhf6U986JAy3EvasXoWcmIjV3nkACJKVU 9v6TG9ATOejs5L5YYB/q2uhfIu/TWBSlN6hGX0/qyfofR1QGaSZrIfEUoa8wWeyQ2gPq ciPN/t4BmKmjtGtQjnwEw8YCEOOMwUKKqZ8ydxZe9DbocASmAq5mdkZvWzhrjGb4yFom E1rPtoooNYaDm6OoG+bqvvsekEUcV5gepcqc7jUxrnPl++2gS3AwxSYcBy45ODIUyisD jl0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uDXPGUisoSRVLUBlsH4QOgnOr0wsdoLkvDmxQDs42Ug=; b=P1cO7PGA4MwwSABMs9EhXQnNdwkRV18kIfyROSxJk/FrQnevnKiTSPm8XjVC+5c+aH tvmxu7h6c+sBiFjywpytb2ctQneRekx9jr7oD1tAvEQi54OdEfAYas4gmrjh6+u66QG9 nNjg84rFzDppgoRYbfDHq31zuUV28ZpTaQIBmbhQJWMA15+nEhWm+b9ybPo+ZAeLmGtI QZ8cgc+0pd+xPKEUs6lqU0m+JeWRJt+6MNlMdAHgTQKYVm7MqPLN7jl6LoNHw+bcqVYq GE2SsrWkiQX3sU8iRL9yt5HLdfGCXqZcrjH4hZoSGaui+kBgXEddofduAJoRYZX2Two8 mMiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ecthEbJ3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si1679015otr.247.2019.12.10.02.24.02; Tue, 10 Dec 2019 02:24:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ecthEbJ3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727406AbfLJKWe (ORCPT + 99 others); Tue, 10 Dec 2019 05:22:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:57720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbfLJKWe (ORCPT ); Tue, 10 Dec 2019 05:22:34 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D9372073B; Tue, 10 Dec 2019 10:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575973354; bh=EMAsYkaVIHiXdK2c5GAqYd2OBB76/3bpMgzpcqIM5to=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ecthEbJ3kWpPMUpseCwYMHaJN1YPpfaRZp/csbKaGy8jV8rY7HrsPAvcAMu2QY0bD BAACaM6RTkVN7EYVgc7fQmIGpdwddiv5XE1uZCORFITUqQhZvIbx1p1vFGPUomzszG 3rjvbsjUW3Hc48pejwP9sGR3Zghl6wDBGu05Gpu0= Date: Tue, 10 Dec 2019 11:22:31 +0100 From: Greg KH To: Jayshri Pawar Cc: linux-usb@vger.kernel.org, felipe.balbi@linux.intel.com, heikki.krogerus@linux.intel.com, rogerq@ti.com, linux-kernel@vger.kernel.org, jbergsagel@ti.com, nsekhar@ti.com, nm@ti.com, peter.chen@nxp.com, kurahul@cadence.com, pawell@cadence.com, sparmar@cadence.com Subject: Re: [RFC PATCH] usb:gadget: Fixed issue with config_ep_by_speed function. Message-ID: <20191210102231.GA3698263@kroah.com> References: <1575284847-3388-1-git-send-email-jpawar@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1575284847-3388-1-git-send-email-jpawar@cadence.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 02, 2019 at 12:07:27PM +0100, Jayshri Pawar wrote: > /** > * config_ep_by_speed() - configures the given endpoint > @@ -144,9 +146,11 @@ next_ep_desc(struct usb_descriptor_header **t) > */ > int config_ep_by_speed(struct usb_gadget *g, > struct usb_function *f, > - struct usb_ep *_ep) > + struct usb_ep *_ep, > + unsigned alt) Why did you not document this new parameter? It does not make sense to me, what does it do, and how is it supposed to be used? thanks, greg k-h