Messages in this thread | | | Date | Fri, 12 Nov 2021 19:48:17 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v0 39/42] crypto: ccree - check notifier registration return value |
| |
On Fri, Nov 12, 2021 at 06:32:33PM +0000, Cristian Marussi wrote: > Looking at the implementation of atomic_notifier_chain_register() and > its internal helper down below, I can see that atomic_notifier_chain_register() > ALWAYS return 0 (O_o) and anyway there is a WARN() in the notifiier core already > to alert of double registrations.
You can ignore it - we agreed (at least no one has complained against it yet :)) on doing this instead:
https://lore.kernel.org/r/YYk1xi3eJdMJdjHC@zn.tnic
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |