Re: [PATCH] scripts/kernel-doc: fix fatal error caused bycfg80211.h

From: Johannes Berg
Date: Sat Jan 21 2012 - 13:36:26 EST


On Sat, 2012-01-21 at 10:31 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> include/net/cfg80211.h uses __must_check in functions that
> have kernel-doc notation. This was confusing scripts/kernel-doc,
> so have scripts/kernel-doc ignore "__must_check".
>
> Error(include/net/cfg80211.h:2702): cannot understand prototype: 'struct cfg80211_bss * __must_check cfg80211_inform_bss(...)

Thanks Randy, I'd seen this a little while ago but not gotten around to
investigating.

johannes


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/