[PATCH v2] soc: pxa: ssp: fix casts

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Jan 6 06:32:44 PST 2024


Hello Duje,

On Sat, Jan 06, 2024 at 03:11:33PM +0100, Duje Mihanović wrote:
> On ARM64 platforms, id->data is a 64-bit value and casting it to a
> 32-bit integer causes build errors. Cast it to uintptr_t instead.
> 
> The id->driver_data cast is unnecessary, so drop it.
> 
> Signed-off-by: Duje Mihanović <duje.mihanovic at skole.hr>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240106/6fa610d6/attachment.sig>


More information about the linux-arm-kernel mailing list