mirror of https://gitee.com/openkylin/linux.git
[media] redrat3: fix sparse warning
Fix this sparse warning: drivers/media/rc/redrat3.c:490:18: warning: incorrect type in assignment (different base types) drivers/media/rc/redrat3.c:495:9: warning: cast to restricted __be32 Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
a769de07ed
commit
b1cb50beaf
|
@ -480,7 +480,7 @@ static int redrat3_set_timeout(struct rc_dev *rc_dev, unsigned int timeoutns)
|
|||
struct redrat3_dev *rr3 = rc_dev->priv;
|
||||
struct usb_device *udev = rr3->udev;
|
||||
struct device *dev = rr3->dev;
|
||||
u32 *timeout;
|
||||
__be32 *timeout;
|
||||
int ret;
|
||||
|
||||
timeout = kmalloc(sizeof(*timeout), GFP_KERNEL);
|
||||
|
|
Loading…
Reference in New Issue