[PATCH] staging: brcm80211: brcmfmac: Add and use dhd_dbg
Joe Perches
joe at perches.com
Thu Apr 28 13:27:16 PDT 2011
On Thu, 2011-04-28 at 11:46 -0700, Joe Perches wrote:
> All uses of DHD_<TYPE> macros are for debugging only.
> Signed-off-by: Joe Perches <joe at perches.com>
Oh phoo... This patch fails to compile when !DHD_DEBUG.
It's missing a define #dhd_dbg for the #DHD_DEBUG case
> drivers/staging/brcm80211/brcmfmac/dhd_dbg.h | 54 +-
[]
> diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_dbg.h b/drivers/staging/brcm80211/brcmfmac/dhd_dbg.h
> index 0817f13..b4db8d1 100644
> --- a/drivers/staging/brcm80211/brcmfmac/dhd_dbg.h
> +++ b/drivers/staging/brcm80211/brcmfmac/dhd_dbg.h
> @@ -19,33 +19,19 @@
> #if defined(DHD_DEBUG)
[]
> #else /* (defined BCMDBG) || (defined DHD_DEBUG) */
#define dhd_dbg(level, fmt, ...) \
no_printk(fmt, ##__VA_ARGS__)
More information about the devel
mailing list