Re: [PATCH] static_call: Update comment
From: Josh Poimboeuf
Date: Sun Aug 08 2021 - 14:47:41 EST
On Thu, Aug 05, 2021 at 05:49:54PM +0200, Peter Zijlstra wrote:
> @@ -96,6 +102,33 @@
> * To query which function is currently set to be called, use:
> *
> * func = static_call_query(name);
> + *
> + *
> + * DEFINE_STATIC_CALL_RET0 / __static_call_return0:
> + *
> + * Just like how DEFINE_STATIC_CALL_NULL() / static_call_cond() optimize the
> + * conditional void function call, DEFINE_STAT_CALL_RET0 /
s/STAT/STATIC/
Otherwise
Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
--
Josh