diff options
author | Philip Rakity <prakity@nvidia.com> | 2013-07-05 10:52:06 +0100 |
---|---|---|
committer | Harshada Kale <hkale@nvidia.com> | 2013-07-10 03:40:56 -0700 |
commit | 7d2c658b3d3cb42b84455b96eea021bfa472706f (patch) | |
tree | 70267f8005f2e6925236748bc971b3f7402437f1 /net | |
parent | 43d0838b52bf9a60d8740417d7cb941f4e55beca (diff) |
net:nfc Fix Warning
u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *general_bytes_len);
prototype did not match static inline.
static inline used u8* rather then size_t*. Change static inline
Change-Id: Ia35d1230c530636b39f5ffe5a514daa5022ab467
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245328
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/nfc/nfc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h index ec8794c1099c..549382c76cae 100644 --- a/net/nfc/nfc.h +++ b/net/nfc/nfc.h @@ -84,7 +84,7 @@ static inline int nfc_llcp_set_remote_gb(struct nfc_dev *dev, return 0; } -static inline u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, u8 *gb_len) +static inline u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *gb_len) { *gb_len = 0; return NULL; |