Message ID | 20221124103803.1446000-1-m.chetan.kumar@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4a99e3c8ed888577b947cbed97d88c9706896105 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: wwan: iosm: fix build errors & bugs | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for net |
netdev/fixes_present | success | Fixes tag present in non-next series |
netdev/subject_prefix | success | Link |
netdev/cover_letter | success | Series has a cover letter |
netdev/patch_count | success | Link |
netdev/header_inline | success | No static functions without inline keyword in header files |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/cc_maintainers | success | CCed 10 of 10 maintainers |
netdev/build_clang | success | Errors and warnings before: 0 this patch: 0 |
netdev/module_param | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Signed-off-by tag matches author and committer |
netdev/check_selftest | success | No net selftest shell script |
netdev/verify_fixes | success | Fixes tag looks correct |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/source_inline | success | Was 0 now: 0 |
Hi, On Thu, Nov 24, 2022 at 04:08:03PM +0530, m.chetan.kumar@linux.intel.com wrote: > From: M Chetan Kumar <m.chetan.kumar@linux.intel.com> > > 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@debian.org> > Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> > -- > v2: No Change. > --- > drivers/net/wwan/iosm/iosm_ipc_protocol.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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; > }; FTR, confirmed now as well on the official build infrastrcture, with the commit applied: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=armhf&ver=6.1%7Erc6-1%7Eexp1&stamp=1669504139&raw=0 Tested-by: Salvatore Bonaccorso <carnil@debian.org> Regards, Salvatore
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; };