2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media/platform/ti-vpe
Mauro Carvalho Chehab af93189d4e [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>
2016-11-22 09:08:36 -02:00
..
cal_regs.h [media] media: ti-vpe: Add CAL v4l2 camera capture driver 2016-02-01 08:45:26 -02:00
cal.c [media] media: platform: ti-vpe: call of_node_put on non-null pointer 2016-11-18 14:23:33 -02:00
csc.c [media] media: ti-vpe: csc: Add debug support for multi-instance 2016-11-22 08:12:24 -02:00
csc.h [media] media: ti-vpe: Make colorspace converter library into its own module 2016-11-22 08:11:25 -02:00
Makefile [media] media: ti-vpe: Make colorspace converter library into its own module 2016-11-22 08:11:25 -02:00
sc_coeff.h [media] v4l: ti-vpe: support loading of scaler coefficients 2014-01-07 06:54:48 -02:00
sc.c [media] media: ti-vpe: scaler: Add debug support for multi-instance 2016-11-22 08:09:33 -02:00
sc.h [media] media: ti-vpe: vpe: Make sure frame size dont exceed scaler capacity 2016-11-22 08:10:14 -02:00
vpdma_priv.h [media] media: ti-vpe: vpdma: RGB data type yield inverted data 2016-11-22 08:05:59 -02:00
vpdma.c [media] vpdma: remove vpdma_enable_list_notify_irq() 2016-11-22 09:05:16 -02:00
vpdma.h [media] media: ti-vpe: vpdma: Add RAW8 and RAW16 data types 2016-11-22 08:10:49 -02:00
vpe_regs.h [media] v4l: ti-vpe: create a color space converter block library 2014-01-07 06:56:18 -02:00
vpe.c [media] ti-vpe: get rid of some smatch warnings 2016-11-22 09:08:36 -02:00