Merge branch 'chcr-Fixing-issues-in-dma-mapping-and-driver-removal'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2020 00:05:02 +0000 (17:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2020 00:05:02 +0000 (17:05 -0700)
Ayush Sawal says:

====================
Fixing issues in dma mapping and driver removal

Patch 1: This fixes the kernel panic which occurs due to the accessing
of a zero length sg.

Patch 2: Avoiding unregistering the algorithm if cra_refcnt is not 1.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge