Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7f193da authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller
Browse files

ibmvnic: Unmap ibmvnic_statistics structure



This structure was mapped but never subsequently unmapped.

Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46d054f8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3844,6 +3844,9 @@ static int ibmvnic_remove(struct vio_dev *dev)
	if (adapter->debugfs_dir && !IS_ERR(adapter->debugfs_dir))
		debugfs_remove_recursive(adapter->debugfs_dir);

	dma_unmap_single(&dev->dev, adapter->stats_token,
			 sizeof(struct ibmvnic_statistics), DMA_FROM_DEVICE);

	if (adapter->ras_comps)
		dma_free_coherent(&dev->dev,
				  adapter->ras_comp_num *