Patch "net: ibm: emac: mal: add dcr_unmap to _remove" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: ibm: emac: mal: add dcr_unmap to _remove

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-ibm-emac-mal-add-dcr_unmap-to-_remove.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 4568a36881b46b3352d8650b174fb96e057455ca
Author: Rosen Penev <rosenp@xxxxxxxxx>
Date:   Tue Oct 8 16:30:50 2024 -0700

    net: ibm: emac: mal: add dcr_unmap to _remove
    
    [ Upstream commit 080ddc22f3b0a58500f87e8e865aabbf96495eea ]
    
    It's done in probe so it should be undone here.
    
    Fixes: 1d3bb996481e ("Device tree aware EMAC driver")
    Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
    Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>
    Link: https://patch.msgid.link/20241008233050.9422-1-rosenp@xxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c
index 7a74975c15fa5..1ebe44804f9d0 100644
--- a/drivers/net/ethernet/ibm/emac/mal.c
+++ b/drivers/net/ethernet/ibm/emac/mal.c
@@ -740,6 +740,8 @@ static int mal_remove(struct platform_device *ofdev)
 
 	free_netdev(mal->dummy_dev);
 
+	dcr_unmap(mal->dcr_host, 0x100);
+
 	dma_free_coherent(&ofdev->dev,
 			  sizeof(struct mal_descriptor) *
 			  (NUM_TX_BUFF * mal->num_tx_chans +




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux