[PATCH] powerpc/modules: Use WARN_ON() in stub_for_addr()

Michael Ellerman mpe at ellerman.id.au
Wed Oct 11 15:12:42 AEDT 2017


Kamalesh Babulal <kamalesh at linux.vnet.ibm.com> writes:

> Use WARN_ON(), while running out of stubs in stub_for_addr()
> and abort loading of the module instead of BUG_ON().

Thanks. This looks good in principle. Have you actually tested it to
make sure we do in fact gracefully fail the module load?

cheers


More information about the Linuxppc-dev mailing list