projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7227c02
)
NFC: Fix SE API related sparse warning
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 7 Oct 2013 12:18:44 +0000
(14:18 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 7 Oct 2013 12:18:44 +0000
(14:18 +0200)
se_io_cb can be declared static. This fixes the following sparse
warning:
net/nfc/netlink.c:1287:6: warning: symbol 'se_io_cb' was not declared.
Should it be static?
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/netlink.c
patch
|
blob
|
history
diff --git
a/net/nfc/netlink.c
b/net/nfc/netlink.c
index
a3dee05
..
84b7e3e
100644
(file)
--- a/
net/nfc/netlink.c
+++ b/
net/nfc/netlink.c
@@
-1284,7
+1284,7
@@
struct se_io_ctx {
u32 se_idx;
};
-void se_io_cb(void *context, u8 *apdu, size_t apdu_len, int err)
+
static
void se_io_cb(void *context, u8 *apdu, size_t apdu_len, int err)
{
struct se_io_ctx *ctx = context;
struct sk_buff *msg;