linux-kernel-test/arch
Michael S. Tsirkin 1734bffc30 blackfin: fix put_user sparse errors
virtio wants to write bitwise types to userspace using put_user.
At the moment this triggers sparse errors, since the value is passed
through an integer.

For example:

	__le32 __user *p;
	__le32 x;
	put_user(x, p);

is safe, but currently triggers a sparse warning.

Fix that up using __force.

Note: this does not suppress any useful sparse checks since caller
assigns x to typeof(*p), which in turn forces all the necessary type
checks.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-01-13 15:23:32 +02:00
..
alpha alpha/uaccess: fix sparse errors 2015-01-13 15:23:00 +02:00
arc Minor updates for ARC for 3.19 2014-12-18 16:26:41 -08:00
arm arm: fix put_user sparse errors 2015-01-13 15:23:30 +02:00
arm64 arm64/uaccess: fix sparse errors 2015-01-13 15:23:02 +02:00
avr32 avr32/uaccess: fix sparse errors 2015-01-13 15:23:04 +02:00
blackfin blackfin: fix put_user sparse errors 2015-01-13 15:23:32 +02:00
c6x net, lib: kill arch_fast_hash library bits 2014-12-10 15:17:46 -05:00
cris cris/uaccess: fix sparse errors 2015-01-13 15:23:09 +02:00
frv Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
hexagon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel 2014-12-19 17:57:51 -08:00
ia64 ia64/uaccess: fix sparse errors 2015-01-13 15:23:11 +02:00
m32r m32r/uaccess: fix sparse errors 2015-01-13 15:23:13 +02:00
m68k m68k/uaccess: fix sparse errors 2015-01-13 15:23:28 +02:00
metag metag/uaccess: fix sparse errors 2015-01-13 15:23:15 +02:00
microblaze Microblaze patches for 3.19-rc1 2014-12-17 09:54:05 -08:00
mips kernel: Provide READ_ONCE and ASSIGN_ONCE 2014-12-20 16:48:59 -08:00
mn10300 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
nios2 nios2: Use preempt_schedule_irq 2014-12-31 11:04:58 +08:00
openrisc openrisc/uaccess: fix sparse errors 2015-01-13 15:23:17 +02:00
parisc parisc/uaccess: fix sparse errors 2015-01-13 15:23:19 +02:00
powerpc Revert "powerpc: Secondary CPUs must set cpu_callin_map after setting active and online" 2014-12-29 15:51:51 +11:00
s390 kernel: Provide READ_ONCE and ASSIGN_ONCE 2014-12-20 16:48:59 -08:00
score net, lib: kill arch_fast_hash library bits 2014-12-10 15:17:46 -05:00
sh sh/uaccess: fix sparse errors 2015-01-13 15:23:21 +02:00
sparc sparc64/uaccess: fix sparse errors 2015-01-13 15:23:26 +02:00
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2014-12-16 13:54:16 -08:00
um um: Skip futex_atomic_cmpxchg_inatomic() test 2015-01-04 14:20:26 +01:00
unicore32 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
x86 x86/uaccess: fix sparse errors 2015-01-13 15:22:59 +02:00
xtensa Xtensa fixes for 3.19: 2014-12-16 14:08:53 -08:00
.gitignore
Kconfig