diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 09:05:59 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 09:08:36 -0200 |
commit | af93189d4ebc7851eb387145d0ea8db52698308e (patch) | |
tree | 903417cd2ae41df497abdaa1f96caf91b49a104d /drivers/media/platform/ti-vpe/vpdma.c | |
parent | 427da406bcaf4f51b561ed19de89f2401df85d05 (diff) | |
download | linux-stable-af93189d4ebc7851eb387145d0ea8db52698308e.tar.gz linux-stable-af93189d4ebc7851eb387145d0ea8db52698308e.tar.bz2 linux-stable-af93189d4ebc7851eb387145d0ea8db52698308e.zip |
[media] ti-vpe: get rid of some smatch warnings
When compiled on i386, it produces several warnings:
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
I suspect that some gcc optimization could be causing the asm code to be
incorrectly generated. Splitting it into two macro calls fix the issues
and gets us rid of 6 smatch warnings, with is a good thing. As it should
not cause any troubles, as we're basically doing the same thing, let's
apply such change to vpe.c.
Cc: Benoit Parrot <bparrot@ti.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe/vpdma.c')
0 files changed, 0 insertions, 0 deletions