Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddc1a70b authored by Samuel Ortiz's avatar Samuel Ortiz
Browse files

NFC: Fix SE API related sparse warning



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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 7227c021
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;