mirror of https://gitee.com/openkylin/linux.git
43e69758e6
Instead of using an ancillary function to avoid duplicating a small portion of code that copies data either to kernelspace or between userspace-kernelspace, duplicate the code, as it prevents static analyzers to complain about it: drivers/media/pci/solo6x10/solo6x10-g723.c:260:46: warning: cast removes address space of expression The hole idea of using __user is to make sure that the code is doing the right thing with address space, so there's no sense on use casting. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
solo6x10-core.c | ||
solo6x10-disp.c | ||
solo6x10-eeprom.c | ||
solo6x10-enc.c | ||
solo6x10-g723.c | ||
solo6x10-gpio.c | ||
solo6x10-i2c.c | ||
solo6x10-jpeg.h | ||
solo6x10-offsets.h | ||
solo6x10-p2m.c | ||
solo6x10-regs.h | ||
solo6x10-tw28.c | ||
solo6x10-tw28.h | ||
solo6x10-v4l2-enc.c | ||
solo6x10-v4l2.c | ||
solo6x10.h |