From patchwork Fri Jul 3 17:41:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 231483 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2595458ilg; Fri, 3 Jul 2020 10:43:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw81tbbx01z2x/TcOIo3U+c4FNEYtchyM+soxsb/AHF9tli5+SZA4szlYvEgxfSgQDJyHsm X-Received: by 2002:aa7:dd10:: with SMTP id i16mr40053756edv.227.1593798206415; Fri, 03 Jul 2020 10:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593798206; cv=none; d=google.com; s=arc-20160816; b=rtpmq2iKL8BztcijUDXhLFOcmm98e29Qb4qh9FITISQ7Sl0idxT86NNiDeCwRYnyeW yBOf+k3lSRySl1a7FMflGZ9pX0qLNMvPsYqqTwSzxYdUiBLctvwaj+ILOzxi6Zrh8EPQ hEPIQbWoCVqZhm7MBPSWBq4wtXx+vMji6KMdP5ohzZLdFULegIwHdb7avG2O7+4s9O0+ adk/67TuFfnYCmeq+dXDhtKldwobOXahKqiL65GCgMaP/3oZhPxBuGm1YfCf46jTTO+v TGfo8MTuJB5+vNSXgK4mncM1olrOW17R1QjjcZ0rtQQKeQn9KtXcpzKFz/RRwQ6Y3vLC hiOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SYWwkgSPDIgouMfzyNf8caHaLbWDeyv2rcH01GGvlwk=; b=glQ9Eg1tui3St8w0I3J6tiKPsJqY1eosg2VBKZsjApkP7IyVAudxDH1hUQ5faLvxZF 1i9o2ojMHQxATOad5H0R1EuLsy2KBF4gTZ+yr84i4oM1Ml0uXMpHjYJYAtsDEHPXQPh/ gkyFFfqcYl7741zchvk1vF/rEaIEq5pevGKtTYjqKo0KA/cDdTVl5SpJi3TiwHowHMu2 i19Q33qMB9A/jW4NGyGcwies/vB1LYRNLmjumg4aYcjnvjcMCjSuQgqmZJl+9zxmD04F K6tz9yHoWT4zdKT6W8VNuxwtVYcD3oC2pwPQgXH+syh/rZsJsa2rS5xkf+jJEiphec/n 38Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIagus93; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si8271356eju.41.2020.07.03.10.43.26; Fri, 03 Jul 2020 10:43:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIagus93; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbgGCRnV (ORCPT + 5 others); Fri, 3 Jul 2020 13:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727022AbgGCRm5 (ORCPT ); Fri, 3 Jul 2020 13:42:57 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70283C08C5DF for ; Fri, 3 Jul 2020 10:42:57 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id k6so33581878wrn.3 for ; Fri, 03 Jul 2020 10:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SYWwkgSPDIgouMfzyNf8caHaLbWDeyv2rcH01GGvlwk=; b=FIagus93ZBIMXIzVrgZHDBEEUg/b5rSvyh4Hjl1apX65iTrYxfN7M6m0U1se57NfwG AMAnabxTOjXzH+qeXftOTmXkt6iVi+tFloOT1b75k5tBrPL4F3Pz6ByWaNMda2fUKvBQ Nfsvnq9vuXjPog2ODt9TYrvxJcIRCbWYQYwc0PBNoUrXDPhB44nPxdeBnvVmzqSzxgTD LJV4eItrfpTRuqhRhIkWVigXqwyl+VrP/HaPOwOJ7p2s3AXAkJUopVPwmD8gGCG4RfJr TMTV7FTl1+RO7WMt+3zzPXGZ11hrR3JJ4e0srVy5hAsMi1qcO0shJjmlXn4otHv5LVZZ JC7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SYWwkgSPDIgouMfzyNf8caHaLbWDeyv2rcH01GGvlwk=; b=GrWCw3nWVlAr4KouNIDWw2gYEvstLN3/4x0KzUYQL6CqSDeDEYIQFs75HzEqK6aeDe 7gomRbfufwSL9crwsyCFhdbex8goU+U1RJV0YeydA3kaj0nXVjnAPenyT5XQsoqa/7IM a1meBlTd6Fq1/hecEIEbPuJ6ATN2EoKWk2SF7zfsW+sWwFuv9TJywzu11FGBVNw+hPZc LzJX+AmAx4/fbOgEjUwREHNUp6BOU+0A/XagJevKkNZWy7V1AicfwujakGsFY1S3M5SF 4LuzaqF0R+il2p89r49o3XSIYXPXBYxTkFGFwxpQHDVa3/F/E8F4BUdjbyRKB6hnHAdB qZYA== X-Gm-Message-State: AOAM5326kvF5Jjf05fH4h6LiNbl8eQNXXV894jjKUHPb7Wv6KdfzYkFO A7TrQQoEBJsqkbigRsIK4Hbo6g== X-Received: by 2002:a05:6000:1008:: with SMTP id a8mr39019528wrx.416.1593798176240; Fri, 03 Jul 2020 10:42:56 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id x11sm13625799wmc.26.2020.07.03.10.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 10:42:55 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Felipe Balbi , =?utf-8?q?Micha=C5=82_Miros?= =?utf-8?q?=C5=82aw?= , Al Borchers , Peter Berger Subject: [PATCH 26/30] usb: gadget: function: u_serial: Repair misdocumented function argument Date: Fri, 3 Jul 2020 18:41:44 +0100 Message-Id: <20200703174148.2749969-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200703174148.2749969-1-lee.jones@linaro.org> References: <20200703174148.2749969-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Looks as though this has been an issue since the driver's inception back in 2014. Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/function/u_serial.c:538: warning: Function parameter or member 'port' not described in 'gs_start_io' drivers/usb/gadget/function/u_serial.c:538: warning: Excess function parameter 'dev' description in 'gs_start_io' Cc: Felipe Balbi Cc: "Michał Mirosław" Cc: Al Borchers Cc: Peter Berger Signed-off-by: Lee Jones --- drivers/usb/gadget/function/u_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c index 3cfc6e2eba71a..c295defe7ecd3 100644 --- a/drivers/usb/gadget/function/u_serial.c +++ b/drivers/usb/gadget/function/u_serial.c @@ -527,7 +527,7 @@ static int gs_alloc_requests(struct usb_ep *ep, struct list_head *head, /** * gs_start_io - start USB I/O streams - * @dev: encapsulates endpoints to use + * @port: port to use * Context: holding port_lock; port_tty and port_usb are non-null * * We only start I/O when something is connected to both sides of