Re: [PATCH 2/2] mtk-vcodec: fix compiler warning

2016-07-10 Thread tiffany lin
On Sat, 2016-07-09 at 09:32 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > mtk-vcodec/venc_vpu_if.c:40:30: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > struct venc_vpu_inst *vpu = (struct venc_vpu_inst *)msg->venc_inst; >

[PATCH 2/2] mtk-vcodec: fix compiler warning

2016-07-09 Thread Hans Verkuil
From: Hans Verkuil mtk-vcodec/venc_vpu_if.c:40:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct venc_vpu_inst *vpu = (struct venc_vpu_inst *)msg->venc_inst; ^ Note: venc_inst is u64. Signed-off-by: Hans Verkuil --- dri