source: branches/chaos_calmer/package/kernel/mac80211/patches/351-0033-brcmfmac-add-missing-header-dependencies.patch @ 49407

Last change on this file since 49407 was 49407, checked in by rmilecki, 12 months ago

mac80211: brcmfmac: backport changes from 2016-09-27

This fixes memory leaks, some possible crashes and bug that could cause
WARNING on every add_key/del_key call. It also replaces WARNING with
a simple message. They may still occur e.g. on station going out of
range and A-MPDU stall in the firmware.

Signed-off-by: Rafał Miłecki <rafal@…>

File size: 1.0 KB
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c

    From 8af92af3f2d55db143417a5d401696f4b642009a Mon Sep 17 00:00:00 2001
    From: Baoyou Xie <>
    Date: Mon, 29 Aug 2016 20:39:35 +0800
    Subject: [PATCH] brcmfmac: add missing header dependencies
    We get 1 warning when building 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
    adds missing header dependencies.
    Signed-off-by: Baoyou Xie <>
    Acked-by: Arnd Bergmann <>
    Signed-off-by: Kalle Valo <>
     drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
     1 file changed, 1 insertion(+)
    a b  
    1919#ifndef __CHECKER__ 
    2020#define CREATE_TRACE_POINTS 
    2121#include "tracepoint.h" 
     22#include "debug.h" 
    2324void __brcmf_err(const char *func, const char *fmt, ...) 
Note: See TracBrowser for help on using the repository browser.