Patch "net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type" has been added to the 5.15-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: wwan: iosm: fix dma_alloc_coherent incompatible pointer type

to the 5.15-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-wwan-iosm-fix-dma_alloc_coherent-incompatible-po.patch
and it can be found in the queue-5.15 subdirectory.

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



commit 8e9eafccbdcd55d5ac3ac0d11a5e79c94518ba6a
Author: M Chetan Kumar <m.chetan.kumar@xxxxxxxxxxxxxxx>
Date:   Thu Nov 24 16:08:03 2022 +0530

    net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
    
    [ Upstream commit 4a99e3c8ed888577b947cbed97d88c9706896105 ]
    
    Fix build error reported on armhf while preparing 6.1-rc5
    for Debian.
    
    iosm_ipc_protocol.c:244:36: error: passing argument 3 of
    'dma_alloc_coherent' from incompatible pointer type.
    
    Change phy_ap_shm type from phys_addr_t to dma_addr_t.
    
    Fixes: faed4c6f6f48 ("net: iosm: shared memory protocol")
    Reported-by: Bonaccorso Salvatore <carnil@xxxxxxxxxx>
    Signed-off-by: M Chetan Kumar <m.chetan.kumar@xxxxxxxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/wwan/iosm/iosm_ipc_protocol.h b/drivers/net/wwan/iosm/iosm_ipc_protocol.h
index 9b3a6d86ece7..289397c4ea6c 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_protocol.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_protocol.h
@@ -122,7 +122,7 @@ struct iosm_protocol {
 	struct iosm_imem *imem;
 	struct ipc_rsp *rsp_ring[IPC_MEM_MSG_ENTRIES];
 	struct device *dev;
-	phys_addr_t phy_ap_shm;
+	dma_addr_t phy_ap_shm;
 	u32 old_msg_tail;
 };
 



[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