Re: [PATCH v2] module: fix noreturn attribute for __module_put_and_exit()

From: Rusty Russell
Date: Thu Mar 31 2016 - 20:22:20 EST


Jiri Kosina <jikos@xxxxxxxxxx> writes:
> __module_put_and_exit() is makred noreturn in module.h declaration, but is
> lacking the attribute in the definition, which makes some tools (such as
> sparse) unhappy. Amend the definition with the attribute as well (and
> reformat the declaration so that it uses more common format).
>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

Applied.

Thanks!
Rusty.