]> git.karo-electronics.de Git - karo-tx-linux.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 (10:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 20:08:28 +0000 (17:08 -0300)
commit6c9fe765360efa97c63b89af685b620baf5e0012
tree61d1ed16a9c1b7758ce33694867bb04d896c901d
parenta301ea1f50e487393636901876ab44d22ec590b3
[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