On Tue, Jan 16, 2018 at 5:32 PM, Kamil Konieczny
<[email protected]> wrote:

> Crypto framework will require async hash export/import, so add empty
> functions to prevent OOPS.
>
> Signed-off-by: Kamil Konieczny <[email protected]>

Acked-by: Linus Walleij <[email protected]>

But why isn't the framework code just checking the vtable for NULL?

if (foo->fp)
    foo->fp(bar);

Yours,
Linus Walleij

Reply via email to