diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-09-30 10:24:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-05 08:50:15 -0700 |
commit | 44a17eff844d92421c8b568c84df29735e1e45f9 (patch) | |
tree | 6ee56974122f2be7cb112a25c0ce032a268f28ec /drivers/staging/bcm/Prototypes.h | |
parent | 9f1c75ac2dba752ad3734bd3ffab805a6a3fbeda (diff) |
staging/bcm: add sparse annotations
This marks up the code where sparse complains in most cases.
Most of the changes are in the ioctl handling code, which
gets __user annotations, finding one unchecked user access.
The rest is mostly about marking functions static when they
are only used in one file.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/bcm/Prototypes.h')
-rw-r--r-- | drivers/staging/bcm/Prototypes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Prototypes.h b/drivers/staging/bcm/Prototypes.h index 7718937c5bd..70ec8bcafd1 100644 --- a/drivers/staging/bcm/Prototypes.h +++ b/drivers/staging/bcm/Prototypes.h @@ -108,8 +108,7 @@ int wrmalt (PMINI_ADAPTER Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize); int rdmalt (PMINI_ADAPTER Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize); -int get_dsx_sf_data_to_application(PMINI_ADAPTER Adapter, UINT uiSFId, - PUCHAR user_buffer); +int get_dsx_sf_data_to_application(PMINI_ADAPTER Adapter, UINT uiSFId, void __user * user_buffer); void SendLinkDown(PMINI_ADAPTER Adapter); |