summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-20 08:58:30 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-09 13:31:49 -0800
commit4fc718a4b0cdf3803f370e323ea5252a3d76f52d (patch)
tree89cc20c45beb0359f09a894d32971bbfc6f172aa /drivers/staging/bcm
parent08da782b1a58fd63199928176909e103477c933a (diff)
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>
Diffstat (limited to 'drivers/staging/bcm')
0 files changed, 0 insertions, 0 deletions