android_kernel_motorola_sm6375/arch/sparc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sam Ravnborg 347b0cf022 sparc32: remove cast from output constraints in math asm statements
The following asm statements generated a sparse warning:

        asm("addcc \n\t" : "=r" (((USItype)(r2)))

warning: asm output is not an lvalue

When asking on the sparse mailing list Linus replyed:

"
Those casts to (USItype) are all pointless to begin with (since the
values are of that type already!) and they mean that the expression
isn't something you can assign to (lvalue).
"

In the math emulation code drop all casts in the output
parts of the asm statements.

This fixes a lot of "warning: asm output is not an lvalue" sparse
warnings in math_32.c.

Signed-off-by: Sam Ravnborg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2014-05-18 19:01:28 -07:00
..
boot
configs
crypto
include sparc32: remove cast from output constraints in math asm statements 2014-05-18 19:01:28 -07:00
kernel sparc32: fix sparse warnings in sys_sparc_32.c 2014-05-18 19:01:28 -07:00
lib sparc32: introduce asm-generic/io.h 2014-05-02 01:30:21 -04:00
math-emu sparc32: remove cast from output constraints in math asm statements 2014-05-18 19:01:28 -07:00
mm sparc32: fix sparse warning in io-unit.c 2014-05-18 19:01:26 -07:00
net net: filter: add jited flag to indicate jit compiled filters 2014-03-31 00:45:08 -04:00
oprofile
power
prom sparc: delete non-required instances of include <linux/init.h> 2014-01-28 23:38:23 -08:00
Kbuild
Kconfig Merge git://git.infradead.org/users/eparis/audit 2014-04-12 12:38:53 -07:00
Kconfig.debug
Makefile