From patchwork Tue Mar 26 15:11:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 10871359 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1A6914DE for ; Tue, 26 Mar 2019 15:11:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD1CA28E12 for ; Tue, 26 Mar 2019 15:11:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB5E928F91; Tue, 26 Mar 2019 15:11:57 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 59FC528E34 for ; Tue, 26 Mar 2019 15:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726261AbfCZPL4 (ORCPT ); Tue, 26 Mar 2019 11:11:56 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:28746 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727492AbfCZPLz (ORCPT ); Tue, 26 Mar 2019 11:11:55 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 213B64CA9E; Tue, 26 Mar 2019 16:11:53 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id qkzi4uAUSGwM; Tue, 26 Mar 2019 16:11:47 +0100 (CET) From: Hauke Mehrtens To: backports@vger.kernel.org Cc: Hauke Mehrtens Subject: [PATCH 3/4] backports: Add missing include for brcmfmac Date: Tue, 26 Mar 2019 16:11:37 +0100 Message-Id: <20190326151138.4141-3-hauke@hauke-m.de> In-Reply-To: <20190326151138.4141-1-hauke@hauke-m.de> References: <20190326151138.4141-1-hauke@hauke-m.de> MIME-Version: 1.0 Sender: backports-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When building against kernel 4.8, 3.14 and older, brcmfmac failed because struct sk_buff was not declared in brcmfmac/bus.h. This is used in the brcmf_bus_ops.txdata() callback. I do not know why this was working before. Signed-off-by: Hauke Mehrtens --- patches/0013-fix-makefile-includes/brcmfmac.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/0013-fix-makefile-includes/brcmfmac.patch diff --git a/patches/0013-fix-makefile-includes/brcmfmac.patch b/patches/0013-fix-makefile-includes/brcmfmac.patch new file mode 100644 index 00000000..9147c80f --- /dev/null +++ b/patches/0013-fix-makefile-includes/brcmfmac.patch @@ -0,0 +1,13 @@ +brcmf_bus_ops.txdata() uses a paramater of type struct sk_buff which +was not declared here when compiling against kernele 4.8 and older. + +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h +@@ -17,6 +17,7 @@ + #ifndef BRCMFMAC_BUS_H + #define BRCMFMAC_BUS_H + ++#include + #include "debug.h" + + /* IDs of the 6 default common rings of msgbuf protocol */