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: 9302271 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA612601C0 for ; Sat, 27 Aug 2016 06:15:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B45E29377 for ; Sat, 27 Aug 2016 06:15:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C823293D3; Sat, 27 Aug 2016 06:15:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HK_RANDOM_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 699B629377 for ; Sat, 27 Aug 2016 06:15:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbcH0GOJ (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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, ...) {