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)
commitb548493cd485836e70ce29980089fc90d85874fb
tree8f73a494b474cce6d80463778fff848b9962cdab
parent934e36ec5e81b8bc079f3d7acd12beb16cad9531
parent8b9914cd723bfce8dbff65bd135563f887dcb19d
Merge branch 'chcr-Fixing-issues-in-dma-mapping-and-driver-removal'

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>