Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1154747pxb; Wed, 4 Nov 2020 01:11:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXEgdoC3gN9vBaxHtb9btfymur//2u4t/0vp0mhY+APvYSveGuvUPnK7PKwyw+nR58UDYj X-Received: by 2002:a50:ace6:: with SMTP id x93mr11434053edc.368.1604481083616; Wed, 04 Nov 2020 01:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604481083; cv=none; d=google.com; s=arc-20160816; b=CA3Fw2P7hU12O1bMc4EvKff8JkMyKOdhDN2S/HjH8dM8TooYWZ/jm1QV+PErDBz81z R3l2D7iUc6AJWiio3IV4OkuLxI6ZEkCg3AXNiamnBPQ57Vf9+AwgJZL+m6RIaqpKnrT4 aMnojFmmxBRGS067pvsscp99DsPHcEKoD55ooi1U7SWO9isW08dOJ5UqUviO3aIv/yNw xlXtUqcOG+DH+Rs/mHK6ernnhxbXOyllM4Q0vYLJStCZvQISjLvC4yCyL78Nv8CJhPuL kiX/fAz/hvdagIrr9zxIHtTBZMRFrPuiqgYYYtYKvsRZJbjecuTrwi4Z/Kpo/ELKKKFX Mdgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DTJOzm0gZUliIM1CJNEOWqPKlNYApXefDQfPPtC85HY=; b=q59brCxjjD55cgqbEvEh3vtIrDarY/T/irgSGNXYBy6LAsa0ov01/1jzSBpIbeDobH RWlVjOkHuzJC6HWcpI7VGJ8GwrnEYqfc+jp5xcHmAS4RlgvN+h5hsqTuYe2vl7EsgBw1 NLO0Q4U6FgBjWuhngnivtW3fzVR8YCGV6S8sqBWxIz7zuihDs0aZyAoVaDF4s7M78xWz RysFKkfHTdGtzisWt/R1ILcMhUJLmiNnqNvmCdpt6MJI9fT0RVvsGxOfkS/X6kB2SB1I 1SruOP9yNzp8/4yJzc1eT3nQRoj2tnOy3UVuv1IwnZ4hwuvVLFgUJevhp+LCZTFyZ9l5 EifQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aFbXdi65; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 i23si891418edg.60.2020.11.04.01.11.00; Wed, 04 Nov 2020 01:11:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=aFbXdi65; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1729160AbgKDJGz (ORCPT + 99 others); Wed, 4 Nov 2020 04:06:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729004AbgKDJGi (ORCPT ); Wed, 4 Nov 2020 04:06:38 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A505EC040201 for ; Wed, 4 Nov 2020 01:06:37 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id h22so1613845wmb.0 for ; Wed, 04 Nov 2020 01:06:37 -0800 (PST) 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=DTJOzm0gZUliIM1CJNEOWqPKlNYApXefDQfPPtC85HY=; b=aFbXdi65yd82soGVwLmvy7Zkj7puzP3tlWDEpJLWKc6c3ovAsCy4j2MSROqTyeZJ44 K3tFlhh2YKybamQbocQs3KrJ1LfviUXKeMTiECQGyLQ2qHlSjksyYKaAoueAPNnV1IJC dQ2OE3GNaBV80sNaITRjXJxUEN5P5qIctgwgz90nTKDpYdqCvOqQlB8brj+HVoUtTKPh 3FuLxpHRaeB7RsZwRtQV4LjCJNOGE5i7hPdqP5zg0aihpaepjdSj3RrJVrP8VpZce9o7 c3qfZFbIGc0TuGqp/ukXo/pVH1VXuLEBY4pO2x+y2NNDZPyDXAJ+DqazP8r2s/pWe6tk 5qXw== 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=DTJOzm0gZUliIM1CJNEOWqPKlNYApXefDQfPPtC85HY=; b=kmou/6tg8IkRaxh18+Vg8JcaFHh6C19fvPPRrHO2+Km+dyRVdtwxvZU2EavaED2Gan MJXCVlrp00v0HgsBaLXsWEdXkxLBNa3r0RJb2zzWsWq6zByq9Nn9r0K4FhCdccgOhDSz 6S1QwzXypaxJK/LBvDFP9Agg4v41mCMh9XRFNMvtEW2mVgyOfQtNldAPn9s/zyi+EI7o I1PjIAaQYqiOzGvNtmett472XoX7x3alvM6q8o7ZUAJ5lWbx7I4+FDPLRoMznaApc5C8 kCDOcXMiSqtz6q8wCX8M3Wry0z54my8I87MhUPfEtN4HqxYmwCUVET0Z7ihZAPqK6RHp uRVA== X-Gm-Message-State: AOAM533IfDPaGACK+b0ZhTs7MtjnRKsrhUlnhozDHgKyBO/poGWdFWZw n8rUvPbwVieyTM2Ebdn4dW5+VQ== X-Received: by 2002:a1c:1b85:: with SMTP id b127mr3591594wmb.163.1604480796423; Wed, 04 Nov 2020 01:06:36 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id e25sm1607823wrc.76.2020.11.04.01.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 01:06:35 -0800 (PST) From: Lee Jones To: davem@davemloft.net, kuba@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Geoff Levand , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Utz Bacher , Jens Osterkamp , netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 10/12] net: ethernet: toshiba: ps3_gelic_net: Fix some kernel-doc misdemeanours Date: Wed, 4 Nov 2020 09:06:08 +0000 Message-Id: <20201104090610.1446616-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104090610.1446616-1-lee.jones@linaro.org> References: <20201104090610.1446616-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/toshiba/ps3_gelic_net.c:1107: warning: Function parameter or member 'irq' not described in 'gelic_card_interrupt' drivers/net/ethernet/toshiba/ps3_gelic_net.c:1107: warning: Function parameter or member 'ptr' not described in 'gelic_card_interrupt' drivers/net/ethernet/toshiba/ps3_gelic_net.c:1407: warning: Function parameter or member 'txqueue' not described in 'gelic_net_tx_timeout' drivers/net/ethernet/toshiba/ps3_gelic_net.c:1439: warning: Function parameter or member 'napi' not described in 'gelic_ether_setup_netdev_ops' drivers/net/ethernet/toshiba/ps3_gelic_net.c:1639: warning: Function parameter or member 'dev' not described in 'ps3_gelic_driver_probe' drivers/net/ethernet/toshiba/ps3_gelic_net.c:1795: warning: Function parameter or member 'dev' not described in 'ps3_gelic_driver_remove' Cc: Geoff Levand Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Utz Bacher Cc: Jens Osterkamp Cc: netdev@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/net/ethernet/toshiba/ps3_gelic_net.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_net.c b/drivers/net/ethernet/toshiba/ps3_gelic_net.c index d9a5722f561b5..f886e23f8ed0a 100644 --- a/drivers/net/ethernet/toshiba/ps3_gelic_net.c +++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.c @@ -1100,7 +1100,7 @@ static int gelic_net_poll(struct napi_struct *napi, int budget) return packets_done; } -/** +/* * gelic_card_interrupt - event handler for gelic_net */ static irqreturn_t gelic_card_interrupt(int irq, void *ptr) @@ -1400,6 +1400,7 @@ static void gelic_net_tx_timeout_task(struct work_struct *work) /** * gelic_net_tx_timeout - called when the tx timeout watchdog kicks in. * @netdev: interface device structure + * @txqueue: unused * * called, if tx hangs. Schedules a task that resets the interface */ @@ -1431,6 +1432,7 @@ static const struct net_device_ops gelic_netdevice_ops = { /** * gelic_ether_setup_netdev_ops - initialization of net_device operations * @netdev: net_device structure + * @napi: napi structure * * fills out function pointers in the net_device structure */ @@ -1632,7 +1634,7 @@ static void gelic_card_get_vlan_info(struct gelic_card *card) dev_info(ctodev(card), "internal vlan %s\n", card->vlan_required? "enabled" : "disabled"); } -/** +/* * ps3_gelic_driver_probe - add a device to the control of this driver */ static int ps3_gelic_driver_probe(struct ps3_system_bus_device *dev) @@ -1787,10 +1789,9 @@ static int ps3_gelic_driver_probe(struct ps3_system_bus_device *dev) return result; } -/** +/* * ps3_gelic_driver_remove - remove a device from the control of this driver */ - static int ps3_gelic_driver_remove(struct ps3_system_bus_device *dev) { struct gelic_card *card = ps3_system_bus_get_drvdata(dev); -- 2.25.1