diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-11-25 18:13:28 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-26 10:28:55 (GMT) |
commit | c216e6417f473ab4666f539844652bf2f4129777 (patch) | |
tree | 78c737f511216e00167a8ddf802af97e421c22d6 /fs/sysv/inode.c | |
parent | 0172bb75073e11a5aa9d8a953bdaefb8709f00c8 (diff) | |
download | linux-fsl-qoriq-c216e6417f473ab4666f539844652bf2f4129777.tar.xz |
cfg80211: change function signature of cfg80211_get_p2p_attr()
The function cfg80211_get_p2p_attr() can fail and returns
a negative error code. However, the return type is unsigned
int. The largest positive number is determined by desired_len
variable in the function, which is u16. So changing the return
type to int to allow easy error checking. Also change the type
for the attribute to enum for improved type checking.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
[fix indentation, don't use u8 attr variable]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/sysv/inode.c')
0 files changed, 0 insertions, 0 deletions