]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[media] media: s5p-mfc: fix broken pointer cast on 64bit arch
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 4 Mar 2015 13:55:22 +0000 (05:55 -0800)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 1 Apr 2015 09:56:56 +0000 (06:56 -0300)
commita0f10c131cc49d7d84394beb7903e1f246331224
treeb2451654f45f7daad467f0301a71d50cb255038e
parent05b676ab42f624425d5f6519276e506b812fa058
[media] media: s5p-mfc: fix broken pointer cast on 64bit arch

Unsigned int cannot be used to store casted pointer on 64bit
architecture, so correct such casts to properly use unsigned long
variables.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
[k.debski@samsung.com: removed volatile and __iomem from cast]

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_opr.h
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c