[lkml]   [2012]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] net/nfc: Fix the compilation warning
Hi Joseph,

On Mon, Apr 30, 2012 at 01:43:15PM +0600, joseph daniel wrote:
> the nfc_llcp_general_bytes is defined in nfc/core.c as
> static inline u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *gb_len).
> as in nfc/nfc.h:
> static inline u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, u8 *gb_len), as
> CONFIG_NFC_LLCP is not defined.
> so we got some warnings,
> net/nfc/core.c:207:2: warning: passing argument 2 of ‘nfc_llcp_general_bytes’ from incompatible pointer type [enabled by default]
> net/nfc/nfc.h:87:19: note: expected ‘u8 *’ but argument is of type ‘size_t *’
> Signed-off-by: joseph daniel <>
Thanks, patch applied to my nfc-next branch.


Intel Open Source Technology Centre
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-04-30 11:41    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean