[PATCH] drivers/crypto/nx: prevent oops on module exit

Michael Ellerman mpe at ellerman.id.au
Fri Oct 17 09:43:55 AEDT 2014


On Thu, 2014-10-16 at 15:30 -0400, Dan Streetman wrote:
> Check old_devdata->dev in nx-842 driver before accessing it, as
> on systems without any nx-842 hardware, the ->dev will never be
> set.  Currently, the module will cause an oops during unload
> since old_devdata->dev is null.

Hi Dan,

Patch looks reasonable. But I can't merge it, at least not without an ACK:

$ ./scripts/get_maintainer.pl -f drivers/crypto/nx/
Nathan Fontenot <nfont at linux.vnet.ibm.com> (supporter:IBM Power 842 com...)
Marcelo Henrique Cerri <mhcerri at linux.vnet.ibm.com> (supporter:IBM Power in-Nest...)
Fionnuala Gunter <fin at linux.vnet.ibm.com> (supporter:IBM Power in-Nest...)
Herbert Xu <herbert at gondor.apana.org.au> (maintainer:CRYPTO API)
"David S. Miller" <davem at davemloft.net> (maintainer:CRYPTO API)
linux-crypto at vger.kernel.org (open list:IBM Power in-Nest...)
linux-kernel at vger.kernel.org (open list)


If any of the above is out of date please send me a patch for MAINTAINERS.

cheers




More information about the Linuxppc-dev mailing list