scripts/kernel-doc: make unknown function prototype a Warning instead of an Error
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 6 Nov 2013 21:18:32 +0000 (13:18 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 2 Dec 2013 13:44:51 +0000 (14:44 +0100)
commit48807e17101773117e36916f767fc12018e0eb21
tree6fcd802ad551d82132da1bcea095435390fe6524
parent066602943521d64f8ac5e6824fdd91580024b44d
scripts/kernel-doc: make unknown function prototype a Warning instead of an Error

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@infradead.org>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
scripts/kernel-doc