1
0
Fork 0
remarkable-linux/drivers/staging/intel_sst
Dan Carpenter 4fc718a4b0 Staging: sst: add some __user anotations
This silences all the sparse warnings in intel_sst_app_interface.c.
It was just a matter of adding __user annotations, I didn't find any
real bugs here.  Quite a few of these were needed for stuff I added
earlier, sorry about that.

I removed a couple casts to (void *) that caused a warning like:
	drivers/staging/intel_sst/intel_sst_app_interface.c:606:27:
		warning: cast removes address space of expression
For example sst_drv_ctx->mailbox is already declared as
"void __iomem *mailbox" so casting it to void pointer isn't necessary
and it makes sparse complain because it removes the __user attribute.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-09 13:31:49 -08:00
..
Kconfig
Makefile
TODO staging: sst: Remove the aava bits 2010-10-14 12:11:24 -07:00
intel_sst.c
intel_sst.h
intel_sst_app_interface.c Staging: sst: add some __user anotations 2010-11-09 13:31:49 -08:00
intel_sst_common.h Staging: sst: add some __user anotations 2010-11-09 13:31:49 -08:00
intel_sst_drv_interface.c staging: intel_sst: include delay.h to fix build error 2010-10-12 08:55:40 -07:00
intel_sst_dsp.c
intel_sst_fw_ipc.h Staging: intel_sst: off by one bug 2010-10-15 15:42:26 -07:00
intel_sst_ioctl.h
intel_sst_ipc.c
intel_sst_pvt.c
intel_sst_stream.c Staging: intel_sst: off by one bug 2010-10-15 15:42:26 -07:00
intel_sst_stream_encoded.c
intelmid.c staging: sst: Remove the aava bits 2010-10-14 12:11:24 -07:00
intelmid.h
intelmid_ctrl.c
intelmid_msic_control.c
intelmid_pvt.c
intelmid_snd_control.h
intelmid_v0_control.c
intelmid_v1_control.c staging: sst: Remove the aava bits 2010-10-14 12:11:24 -07:00
intelmid_v2_control.c
jack.h