From patchwork Thu Nov 26 13:38:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332976 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp152741ejs; Thu, 26 Nov 2020 05:39:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk146wUaFovVNWosCptqpG334/2I/2tllgfqvrZ0awihT9UoZ1Tat8AA4Pd2LB7bb4z9Fb X-Received: by 2002:a17:906:254d:: with SMTP id j13mr2713902ejb.376.1606397986429; Thu, 26 Nov 2020 05:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397986; cv=none; d=google.com; s=arc-20160816; b=0zn/LfJkp6oJrqRaPbxvbZQiEJ0L3GxN7qe+ZYsA5HbZbiwlcZRiHwj1iFER33m/BM bN4LcUHa2hWy6Hd4vsdPBbM7+LTFzTPu8iCh42nVQ2qShbSLJpGTO1jYUSmTCcr9iIkB UGieBAaPTTUvBt4AHaNuv1pLxs2C6cnVK6MCk4kmBT8JrIyFNhw7Eu1c6Br2S6n8PRNq IgDyVKkw2GTcUAzE4lQYk9EpKOAqp3wMJeMvB10E/ItoxIvdk0hs2DNTV/vnuGjJQ6wp P6n0RnYj9TVmJwDeegTQVpRSY3jZ3VnH4w1KQWNHH2fkwS1EkOXlWyzDwrXsdRxnedu6 UhZQ== 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=oYgpjf76kzokq1lw9peNjpiGw2Ji8yFXqiIQfoAuuvM=; b=qqbcJpEb7pH8H0yQqLbbPu5Blg77m5THl9ZV1ZKTgzt03lWYP0Uus5EowfqvFMdKq7 BwsLg4/YFAP0ZZy3VVmoQ/Rwhtx41rTjaqcmzXvdXQdKX1wYgnUFVSdJssRGGvamjO+b QVb4R+4z1RRQPR01UYvsBVeZwo7h4xizV54ld8y3rfbDqY2GbmxDUlH+U3nFEEzEW/Gy RTOXm0OHi6MzYUF7klTGPq3r6lPYYwl5s7dPZwqrQdxBmyfzNPjYfZFoG3JZxkJ2XfUv kUafVveUgK6MOlR1Tzr+IJ4ay5ZXV7BaQY60txSATqRWBw9zFs9qr1TlrIOTREZkraDa 2o6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y4FJagoo; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 bt20si3037473edb.405.2020.11.26.05.39.46; Thu, 26 Nov 2020 05:39:46 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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=y4FJagoo; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S2390385AbgKZNjB (ORCPT + 8 others); Thu, 26 Nov 2020 08:39:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390296AbgKZNjA (ORCPT ); Thu, 26 Nov 2020 08:39:00 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7921C0617A7 for ; Thu, 26 Nov 2020 05:38:59 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id d142so2184782wmd.4 for ; Thu, 26 Nov 2020 05:38:59 -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=oYgpjf76kzokq1lw9peNjpiGw2Ji8yFXqiIQfoAuuvM=; b=y4FJagoo/uFkFIGb96frMqyuiNZVvOjuzF9cDotLK2J14gCs1/9OOWUKHXWpmu8cn0 INafeNn2tupT3IlCatcz1uWm1GdKTDqbpCi9ybMRsziKI+C8M7xtadC+38sZw0rhSfsN v7czwnA2juH7RgUqK/P1rd3ssDMhnwx2JFGQXPAhcDeMAe+b0nN7zRR/k9LzHSfO7Bm1 36Fqa4Y2cJEfwFD1YTbn57rKRst/SbOIuvDLA6N1JeA+RNyeW2ZmLJxvPU22Ii+yaS6E cfboCQeCTQk/oWmlURxIGqqwUMnyMlKuHWhkHKE+8xuYm/CDuA/bv3T7XzoRaVNPz+oS e1qQ== 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=oYgpjf76kzokq1lw9peNjpiGw2Ji8yFXqiIQfoAuuvM=; b=RzutP5CNMRKk/Wpjrz93CqwMVEBLSlcNG+8+Aj1rKWtXem1b1x7fVkcrYNo0AryZZ4 r+MOxyguC8oHxpbjJkVqbNFl6iHg+UrYScNgWeLVt8DnWQV2LkOayKdVNl5z5+KQxXiI /8e0SjJspJqNJ28YT/tTaWI10iM4BRzX9eQhETiYq8SRTIBSQ6Udm4TuFsiArstRyUc8 guNoKD6enzLCFG7Y3xNxZYjJGfuZBlsdxeE9NZxCNlcvi+wR8BfXhlto9Bx1+Gugc0al 4+FalOFS4qg+7XzZB8qThAeSOHjAZjJKbxhxRUAQp9jbPW0WJ9oOMJ0K4ipvDEoDp5kc hlcw== X-Gm-Message-State: AOAM530LZT3ErlyrSxcFGIeTpjXDnAaPbIQU6LF7XzG3SngaEs5tY82D 9Fo/4DRCMjYdtEEqOvT2MDE2WZMw0TcL322S X-Received: by 2002:a05:600c:2908:: with SMTP id i8mr3521713wmd.182.1606397938612; Thu, 26 Nov 2020 05:38:58 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id s133sm7035825wmf.38.2020.11.26.05.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:38:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nicolas Pitre , "David S. Miller" , Jakub Kicinski , Erik Stahlman , Peter Cammaert , Daris A Nevil , Russell King , netdev@vger.kernel.org Subject: [PATCH 1/8] net: ethernet: smsc: smc91x: Demote non-conformant kernel function header Date: Thu, 26 Nov 2020 13:38:46 +0000 Message-Id: <20201126133853.3213268-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133853.3213268-1-lee.jones@linaro.org> References: <20201126133853.3213268-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'dev' not described in 'try_toggle_control_gpio' drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'desc' not described in 'try_toggle_control_gpio' drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'name' not described in 'try_toggle_control_gpio' drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'index' not described in 'try_toggle_control_gpio' drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'value' not described in 'try_toggle_control_gpio' drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or member 'nsdelay' not described in 'try_toggle_control_gpio' Cc: Nicolas Pitre Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Erik Stahlman Cc: Peter Cammaert Cc: Daris A Nevil Cc: Russell King Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/ethernet/smsc/smc91x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 56c36798cb111..3b90dc065ff2d 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c @@ -2191,7 +2191,7 @@ static const struct of_device_id smc91x_match[] = { MODULE_DEVICE_TABLE(of, smc91x_match); #if defined(CONFIG_GPIOLIB) -/** +/* * of_try_set_control_gpio - configure a gpio if it exists * @dev: net device * @desc: where to store the GPIO descriptor, if it exists