Commit b11844b6 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: af_can: fix alignment

This patch fixes the alignment of find_dev_rcv_lists() and canfd_rcv()
so that checkpatch doesn't complain anymore.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 8325ce9b
...@@ -299,7 +299,7 @@ EXPORT_SYMBOL(can_send); ...@@ -299,7 +299,7 @@ EXPORT_SYMBOL(can_send);
/* af_can rx path */ /* af_can rx path */
static struct can_dev_rcv_lists *find_dev_rcv_lists(struct net *net, static struct can_dev_rcv_lists *find_dev_rcv_lists(struct net *net,
struct net_device *dev) struct net_device *dev)
{ {
if (!dev) if (!dev)
return net->can.can_rx_alldev_list; return net->can.can_rx_alldev_list;
...@@ -707,7 +707,7 @@ static int can_rcv(struct sk_buff *skb, struct net_device *dev, ...@@ -707,7 +707,7 @@ static int can_rcv(struct sk_buff *skb, struct net_device *dev,
} }
static int canfd_rcv(struct sk_buff *skb, struct net_device *dev, static int canfd_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev) struct packet_type *pt, struct net_device *orig_dev)
{ {
struct canfd_frame *cfd = (struct canfd_frame *)skb->data; struct canfd_frame *cfd = (struct canfd_frame *)skb->data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment