diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 07:24:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 07:24:16 -0400 |
commit | 43e69758e6c0cc05adc4d39316f65abb120a00a0 (patch) | |
tree | 12954805794e011dceb81a6ad898a2b0f336bc8b /drivers/pnp | |
parent | 70ae6a049fa9886f3d81bb35b7a806eef72351a2 (diff) |
media: solo6x10: get rid of an address space warning
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>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions