Received: by 10.223.185.116 with SMTP id b49csp1032052wrg; Fri, 23 Feb 2018 10:40:13 -0800 (PST) X-Google-Smtp-Source: AH8x226HAL/Pp464yQDP2ZjvshNf3DuA5XSbAs3vfzEOFC6uZ1mXVcaTjSCxXL0EHXOQI513RfzT X-Received: by 10.101.80.193 with SMTP id s1mr2130558pgp.254.1519411213446; Fri, 23 Feb 2018 10:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519411213; cv=none; d=google.com; s=arc-20160816; b=uLD8I6PgFg5S5nmY1U7x50P/cvGazpu4RvEktWL4j9QO/8YHbNAfwcjtMK04Z3vrWK KZ87zIfRK3Wbx2hdLkzwOEPm3Q8dsr7a0jScr6uMgxapnfiredoaZ37TKfFjHT19E/vi 2otbowqhWaxoNabdpAiGSF5f2tU9zbtRfFh21La5PuiMYYDCyGz3FkhKqyjQM+EbzNh7 AvJGneRtdfVDjK9T4AE9Oc/OLKqtu65C6Y6pywvZLLYZtIHIqmoaa9uM/CZf4bHHaDJa L2LCjXb0vygM/lZYsAqPLSjuK7yGIIkeFnBVxA+gDOvVs2+kC/juNKr0jom7VHRpx9+k Li0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=QkcxbfOr/ThANRBUI0+gaz85WssDHxZq2IypOXYRXaQ=; b=ha7XqbkLnUyUOSaFYCXzWxdmHL/ve4U9SL9eDVEP028AVoePYwv8pDU91ZhErUZaTM DKJXCdBUnT9X/dAX78muXIKuboq7r0Jun0cwNOWSo3vs7h63sMIZpSkBbQb/5cFoRoLy urEs/tdEBJRFLXCD23CzpkoSLIvbTPpD78i/fNoCUH9ic+4TOoY7ku641xWIClRFd1Ba Xs8izFrthg4Xv45HG0JxOsP0S606fT0tV64Ohv+emImBVspEk8Dnbu54eD2g4DBHw7bC LTtOT0EgozE8FUBJQOX14bBjMZBQh3rVD7+Cs5X+aPvEYMlvYiYTptf3HwDZNwDgSg6J AqeQ== ARC-Authentication-Results: i=1; mx.google.com; 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 x69si1825779pgd.117.2018.02.23.10.39.58; Fri, 23 Feb 2018 10:40:13 -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; 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 S932466AbeBWSix (ORCPT + 99 others); Fri, 23 Feb 2018 13:38:53 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39436 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932143AbeBWSiu (ORCPT ); Fri, 23 Feb 2018 13:38:50 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D94281125; Fri, 23 Feb 2018 18:38:49 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Glen Lee Subject: [PATCH 4.4 115/193] staging: wilc1000: fix kbuild test robot error Date: Fri, 23 Feb 2018 19:25:48 +0100 Message-Id: <20180223170343.908482739@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Glen Lee commit b22fa80cdbf4ff1056ecddb4efdcc0ede5f5f422 upstream. This patch fixes build warning and error reported by kbuild test robot. It is fixed by including netdevice.h. >> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device' declared inside parameter list int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp); >> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only this definition or declaration, which is probably not what you want >> drivers/staging/wilc1000/wilc_wlan.c:1954:5: error: conflicting types for 'wilc_wlan_init' int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp) Fixes: 30135ce ("staging: wilc1000: wilc_wlan_init: add argument struct net_device") Reported-by: kbuild test robot Signed-off-by: Glen Lee Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/wilc_wlan_if.h | 1 + 1 file changed, 1 insertion(+) --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -12,6 +12,7 @@ #include #include "linux_wlan_common.h" +#include /******************************************** *