summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-08-13 11:25:33 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-08-13 17:32:20 +0200
commit97c334935100e762feb4f083291bb2fc006de7df (patch)
tree0f47fe73b91b8f92049ee362c0be634834a1de5d /net/can
parentcan: af_can: can_pernet_init(): Use preferred style kzalloc(sizeof()) usage (diff)
downloadlinux-97c334935100e762feb4f083291bb2fc006de7df.tar.xz
linux-97c334935100e762feb4f083291bb2fc006de7df.zip
can: af_can: add missing identifiers to struct receiver::func
This patch adds the missing identifiers to the struct receiver::func declaration. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
-rw-r--r--net/can/af_can.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h
index 41a45e3bc4a4..9cdb79083623 100644
--- a/net/can/af_can.h
+++ b/net/can/af_can.h
@@ -53,7 +53,7 @@ struct receiver {
canid_t can_id;
canid_t mask;
unsigned long matches;
- void (*func)(struct sk_buff *, void *);
+ void (*func)(struct sk_buff *skb, void *data);
void *data;
char *ident;
struct sock *sk;