[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F1299C4.7020902@broadcom.com>
Date: Sun, 15 Jan 2012 10:17:56 +0100
From: "Arend van Spriel" <arend@...adcom.com>
To: "Joe Perches" <joe@...ches.com>
cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Brett Rudley" <brudley@...adcom.com>,
"Henry Ptasinski" <henryp@...adcom.com>,
"Roland Vossen" <rvossen@...adcom.com>,
"Franky (Zhenhui) Lin" <frankyl@...adcom.com>,
"Kan Yan" <kanyan@...adcom.com>,
"John W. Linville" <linville@...driver.com>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH 3/8] brcm80211: Add and use brcmX_dbg_dump_hex
On 01/15/2012 09:38 AM, Joe Perches wrote:
> +#ifdef DEBUG
> +extern __printf(3, 4)
Just curious if I can learn something here. What does the __printf(3, 4) do?
> +void brcmu_dbg_hex_dump(const void *data, size_t size, const char *fmt, ...);
> +#else
> +__printf(3, 4)
> +static inline
> +void brcmu_dbg_hex_dump(const void *data, size_t size, const char *fmt, ...)
> +{
> +}
> +#endif
> +
> #endif /* _BRCMU_UTILS_H_ */
Gr. AvS
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists