Re: [PATCH] kernel-doc: restrict syntax for private: and public:

From: Sam Ravnborg
Date: Fri May 01 2009 - 07:48:28 EST


On Tue, Apr 28, 2009 at 03:17:57PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> scripts/kernel-doc can (incorrectly) delete struct members that
> are surrounded by /* ... */ <struct members> /* ... */
> if there is a /* private: */ comment in there somewhere also.
>
> Fix that by making the "/* private:" only allow whitespace
> between /* and "private:", not anything/everything in the world.
>
> This fixes some erroneous kernel-doc warnings that popped up
> while processing include/linux/usb/composite.h.

Applied to kbuild-next.

Sam
--
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/