Skip to content

Commit 1bbcb46

Browse files
committed
drivers: netc: make the driver to be aarch64 compatible
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
1 parent a6280b7 commit 1bbcb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcux/mcux-sdk-ng/drivers/netc/netc_hw/fsl_netc_hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ status_t NETC_CmdBDRInit(netc_cbdr_hw_t *base, const netc_cmd_bdr_config_t *conf
129129
status_t status = kStatus_Success;
130130
uint64_t address;
131131

132-
if ((0U != ((uint32_t)config->bdBase % 128U)) || (0U != (config->bdLength % 8U)))
132+
if ((0U != ((uintptr_t)config->bdBase % 128U)) || (0U != (config->bdLength % 8U)))
133133
{
134134
status = kStatus_InvalidArgument;
135135
}

0 commit comments

Comments
 (0)