Re: [PATCH] scripts/kernel-doc: make unknown function prototype aWarning instead of an Error
From: Michal Marek
Date: Thu Nov 07 2013 - 00:04:11 EST
On Thu, Oct 17, 2013 at 04:32:01PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> When scripts/kernel-doc cannot understand a function prototype,
> it had been generating a fatal error and stopping immediately.
> Make this a Warning instead of an Error and keep going.
>
> Note that this can happen if the kernel-doc notation that is being
> parsed is not actually a function prototype; maybe it's a struct or
> something else, so I added "function" to the warning message to try
> to make it clearer that scripts/kernel-doc is looking for a function
> prototype here.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
Applied to kbuild.git#misc, thanks.
Michal
--
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/