• Mauro Carvalho Chehab's avatar
    media: solo6x10: get rid of an address space warning · 43e69758
    Mauro Carvalho Chehab authored
    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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    43e69758
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
solo6x10-core.c Loading commit data...
solo6x10-disp.c Loading commit data...
solo6x10-eeprom.c Loading commit data...
solo6x10-enc.c Loading commit data...
solo6x10-g723.c Loading commit data...
solo6x10-gpio.c Loading commit data...
solo6x10-i2c.c Loading commit data...
solo6x10-jpeg.h Loading commit data...
solo6x10-offsets.h Loading commit data...
solo6x10-p2m.c Loading commit data...
solo6x10-regs.h Loading commit data...
solo6x10-tw28.c Loading commit data...
solo6x10-tw28.h Loading commit data...
solo6x10-v4l2-enc.c Loading commit data...
solo6x10-v4l2.c Loading commit data...
solo6x10.h Loading commit data...