Message ID | 20200706133341.476881-6-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp4779225ilg; Mon, 6 Jul 2020 06:33:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpOLWnh1Sc31t9COD5oOd2dgXEpaOlHr2mhuvElci3RWYlPrH/BfjDNZlv09AcVMUD+P7a X-Received: by 2002:a17:906:e91:: with SMTP id p17mr36735549ejf.252.1594042434666; Mon, 06 Jul 2020 06:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042434; cv=none; d=google.com; s=arc-20160816; b=q3P7Os/hqCUT1CwgPAT4OBLwQ1LhCaC1Ys5XRW+fRj4STnI2nzMkttJIIUQFI/8now BIBhADaH9ahtXg8dnEowmPCIzRxZfaqNs7V63AJikNwRGt2a1kCCKA2BTYYB3gtcSzzk pCHai0hsDeuxJ/9aE3vxRjBcBL6MQIIBu7QiFA32LvZ7wYwp5U6h0IZZtHM6wQY0FyxO mwVP5/qgFcvDUrl0PfPDCEfcjhoXi3wOs4ygx+bvCecuPazXNRh/c6bUzVxjrt7YCEGv n+l/48e/RRCb3ATgUt3uGeKIwbvOVd9lqKobKqkQ8MBz6MKQyUImTFlz6GTwpSk/W2EM kycQ== 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=+1uVBpjaOD4IpY3ZVlXbRV81yiri13+tuf6A/llAK/Q=; b=iQ6ayz9Kj8UWMla2qq7bnRzsb+5t1TWL4UCl8Dt3+FPfOaHHNMuzKFlrQBbcFXtcnF oq6GjLy+IyVb+0wTX8nGy0HBnntVl6vIYVt8g1qd9bdTmMm3bV/aLBg5tauVj1698Ds/ EGqoQ3OmUsctlGRHycgQ/0LgkaqHQZ50xFInh/RSCEXL3r7MpB56cC9bUjm4n0KEKg3z VgxDgFI0jRtqmd7UbYPQfFZ0Q8fbShXr3Q0yEbOoT85EbnzYMcpcINZ+UyPMZ838ffrs ooKMJrmmXs9GbgOlxvWeZaklXs1LF7eoe/3K6Xlo8N/jk42A9FK75bw9t2aHal5lIJxL Q7zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bWfrC2CT; 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: <linux-usb-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca10si13450073edb.224.2020.07.06.06.33.54; Mon, 06 Jul 2020 06:33:54 -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=bWfrC2CT; 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 S1729257AbgGFNdx (ORCPT <rfc822;patch@linaro.org> + 5 others); Mon, 6 Jul 2020 09:33:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729249AbgGFNdw (ORCPT <rfc822;linux-usb@vger.kernel.org>); Mon, 6 Jul 2020 09:33:52 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA21BC061794 for <linux-usb@vger.kernel.org>; Mon, 6 Jul 2020 06:33:51 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id o11so40973637wrv.9 for <linux-usb@vger.kernel.org>; Mon, 06 Jul 2020 06:33:51 -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=+1uVBpjaOD4IpY3ZVlXbRV81yiri13+tuf6A/llAK/Q=; b=bWfrC2CT864d48e8sCwLNN6S649Z7RUI6pO1r+dF7OQw0XBZ0w+YwQQRCgFTULa6lO pUTSNHqHo5MEMTKVVgMIK7+bkfHfqxXFMNgjUdN4S6S7nnMVygMuDMWlbsNhPfyl68jD avi2zqxlw+3PRHuC+6tM753fGejds5lVDT+akNypUQ2JCcQvMzLNJF+A2Xe6mKVZPj7x ZLRC8d3qGcXfT5kgnn66HLzFcO6h8g/DsDcpAsMjN5bQHWZPSbai4i1du/j4Cmeb9Ml5 5lJ4DfLAuw09P70HDlLAaeKYQp/cHK5Eh+xJMsB+5p8ptypyUIV1/p+NtWybWXuYyrVB AiVQ== 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=+1uVBpjaOD4IpY3ZVlXbRV81yiri13+tuf6A/llAK/Q=; b=j7c8bWIZpdoPkyuSy77HdhAuIcJpze5Yke4L59fE6sryRDEJAUnjc+zkdhqN6qZh50 fD1+EL2SnbxAxktDyJ0idBnu8HwWyHFzP4ZaluOebzH7IcD1Wq14t4tpuyGQAF5yQduw RwbzVfD6rw7H5fmD2HOpxJE0L+WbAttTk18K3iGBD1H7NoplWrDktrXRtwX45PZsfEak t/e5d75q1V3HeNRLBlIYKpfRBmpwWmMesrW+zyjK40ORtEJM/M28sO6njUqUh77gUd+O 4HJopF0rbOwv/jFifpcyO3GobQsDyL7so5+pSWI17U3pJ4jwgXTaHRRkpstaBFIruBI1 MQpg== X-Gm-Message-State: AOAM530WM6IZqAo16gYdwZSAo99GmJm+VMvop/vAdsCWBNaLPB9T4V9M VAKb/ExRUS3XuvKGkNFMApKrFQ== X-Received: by 2002:a5d:470b:: with SMTP id y11mr50991135wrq.101.1594042430666; Mon, 06 Jul 2020 06:33:50 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id v18sm25416082wrv.49.2020.07.06.06.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 06:33:50 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Felipe Balbi <balbi@kernel.org> Subject: [PATCH 05/32] usb: gadget: function: u_ether: Downgrade kerneldoc headers which to not make the mark Date: Mon, 6 Jul 2020 14:33:14 +0100 Message-Id: <20200706133341.476881-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200706133341.476881-1-lee.jones@linaro.org> References: <20200706133341.476881-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
Fix the final bunch of W=1 issues in USB
|
expand
|
diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c index fbe96ef1ac7a4..f01e3e21ecf21 100644 --- a/drivers/usb/gadget/function/u_ether.c +++ b/drivers/usb/gadget/function/u_ether.c @@ -730,7 +730,7 @@ static struct device_type gadget_type = { .name = "gadget", }; -/** +/* * gether_setup_name - initialize one ethernet-over-usb link * @g: gadget to associated with these links * @ethaddr: NULL, or a buffer in which the ethernet address of the @@ -1012,7 +1012,7 @@ int gether_get_ifname(struct net_device *net, char *name, int len) } EXPORT_SYMBOL_GPL(gether_get_ifname); -/** +/* * gether_cleanup - remove Ethernet-over-USB device * Context: may sleep *
Kerneldoc expects all function arguments to be documented. If any are missed it will complain. Downgrade one header with 3 missing argument descriptions and one which makes no attempt. Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/function/u_ether.c:750: warning: Function parameter or member 'dev_addr' not described in 'gether_setup_name' drivers/usb/gadget/function/u_ether.c:750: warning: Function parameter or member 'host_addr' not described in 'gether_setup_name' drivers/usb/gadget/function/u_ether.c:750: warning: Function parameter or member 'qmult' not described in 'gether_setup_name' drivers/usb/gadget/function/u_ether.c:1022: warning: Function parameter or member 'dev' not described in 'gether_cleanup' Cc: Felipe Balbi <balbi@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/usb/gadget/function/u_ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1