linux/arch/blackfin
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
..
boot blackfin: Ignore generated uImages 2013-09-13 10:42:39 +08:00
configs defconfig: BF609: update spi config name 2014-07-26 08:32:49 +08:00
include blackfin: fix put_user sparse errors 2015-01-13 15:23:32 +02:00
kernel blackfin: Replace __get_cpu_var uses 2014-08-26 13:45:55 -04:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf527 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf533 blackfin: fix some bf5xx boards build for missing <linux/gpio.h> 2014-07-26 08:32:45 +08:00
mach-bf537 pata_platform: Remove useless irq_flags field 2014-08-23 13:05:08 -04:00
mach-bf538 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf548 blackfin: bind different groups of one pinmux function to different state name 2014-07-26 08:32:46 +08:00
mach-bf561 pata_platform: Remove useless irq_flags field 2014-08-23 13:05:08 -04:00
mach-bf609 blackfin: bind different groups of one pinmux function to different state name 2014-07-26 08:32:46 +08:00
mach-common Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2014-10-15 07:48:18 +02:00
mm mm/blackfin: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
oprofile
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig treewide: Fix typos in Kconfig 2014-09-26 11:12:28 +02:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile blackfin: rename vmImage to uImage after we move to buildroot 2013-05-07 18:26:39 +08:00