From patchwork Sat Aug 27 06:08:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 74855 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp703121qga; Fri, 26 Aug 2016 23:15:01 -0700 (PDT) X-Received: by 10.98.7.200 with SMTP id 69mr12504430pfh.33.1472278501115; Fri, 26 Aug 2016 23:15:01 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h127si25551692pfb.251.2016.08.26.23.15.00; Fri, 26 Aug 2016 23:15:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbcH0GOJ (ORCPT + 1 other); Sat, 27 Aug 2016 02:14:09 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34684 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750798AbcH0GOJ (ORCPT ); Sat, 27 Aug 2016 02:14:09 -0400 Received: by mail-pf0-f170.google.com with SMTP id p64so35132181pfb.1 for ; Fri, 26 Aug 2016 23:14:08 -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; bh=f/kcOWQhN/kaDUYT3/9aesnvIOFgR+xDk5IUmD6ivYU=; b=iVcu9liedHE/g8AdB/TbYe7UxsLnIZ7OQzCRVi1vbzv7m8QgK4syw8vWUXoFQ/qwFX frLN7RcFzsf7bXzhapC2X/TcAjXAwVQwsUInI56Hg+fhjrffHjUpKWgMreIC1u9W9Jg+ DShoWWTVgWI8Y6q8qmNPSDbIQH/iSJtdjd6i4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=f/kcOWQhN/kaDUYT3/9aesnvIOFgR+xDk5IUmD6ivYU=; b=R8NiMvFBCqv6dTOKMuZaNhHdF56xKRlk0QvUID2CabDw2UIVsEz7zsfsjyl9qnG0wM MWsL6ib6cRRcZWgibzm22ybaxlrY+GB0n6BZEoZvcK+WjES3ZmVS8h0yF2TSrxBgHGLM H7Cj60LweyzVTrztK4WqxmSUFrWjgrTxGKhL07r/Ru4QbiwTK049u0mqso11Ta9jXCh/ jeHA7Ldq7MIFz4OjukyG6rtpeRZZzeYJdF8uPh5itfmClLiXcgr3eG1AE/dsiPQ2V4jZ hH2LhKjmBh2utVQgly1Iuf7iHpeQwJHDlXrGwbxJDo/8q1zo0BUGv1cMF2KW/X1OvllW rX4g== X-Gm-Message-State: AE9vXwPwKiCFP+6lz7FIGU7xtGiWEx60OyPfyLC3zbwTwKRbVz1fA+AFGg89OtKtynrSuPMS X-Received: by 10.98.1.137 with SMTP id 131mr12528147pfb.165.1472278133508; Fri, 26 Aug 2016 23:08:53 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.97]) by smtp.gmail.com with ESMTPSA id g13sm32912304pfb.7.2016.08.26.23.08.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Aug 2016 23:08:52 -0700 (PDT) From: Baoyou Xie To: franky.lin@broadcom.com, hante.meuleman@broadcom.com, kvalo@codeaurora.org Cc: baoyou.xie@linaro.org, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH v2] fix:brcmfmac: add missing header dependencies Date: Sat, 27 Aug 2016 14:08:23 +0800 Message-Id: <1472278103-28320-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org We get 1 warning when biuld kernel with W=1: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: warning: no previous prototype for '__brcmf_err' [-Wmissing- prototypes] In fact, this function is declared in brcmfmac/debug.h, so this patch add missing header dependencies Signed-off-by: Baoyou Xie --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c index a10f35c..fe67559 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c @@ -19,6 +19,7 @@ #ifndef __CHECKER__ #define CREATE_TRACE_POINTS #include "tracepoint.h" +#include "debug.h" void __brcmf_err(const char *func, const char *fmt, ...) {