[media] dib0700: be sure that dib0700_ctrl_rd() users can do DMA
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 09:40:24 +0000 (06:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:37:47 +0000 (12:37 -0300)
commitbd1f976cc95b0689f889c8d93434ee61dd09b08b
treed1e637e65c285746c720b35fe7cc6fc61a01b695
parent17ce039b4e5405c49d8c0d64e6d781cc6f4dc1ac
[media] dib0700: be sure that dib0700_ctrl_rd() users can do DMA

dib0700_ctrl_rd() takes a RX and a TX pointer. Be sure that
both will point to a memory allocated via kmalloc().

Reviewed-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/dib0700_core.c
drivers/media/usb/dvb-usb/dib0700_devices.c