diff options
author | David S. Miller <davem@davemloft.net> | 2012-06-06 18:13:26 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-06 18:13:26 (GMT) |
commit | 9b97b84eb51e689b90960916e7c2f57f4790f17f (patch) | |
tree | ae3687f027abf0d670ba533459fa48f61c62cf7a /net | |
parent | d7ce8a5f63838d99726ec81f666075d65361325b (diff) | |
parent | d6e640f9766e2fb9aa3853b4ff19e4d7d5d7e373 (diff) | |
download | linux-fsl-qoriq-9b97b84eb51e689b90960916e7c2f57f4790f17f.tar.xz |
Merge branch 'master' of git://gitorious.org/linux-can/linux-can-next
Diffstat (limited to 'net')
-rw-r--r-- | net/can/af_can.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c index 0ce2ad0..6efcd37 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c @@ -334,8 +334,8 @@ static struct dev_rcv_lists *find_dev_rcv_lists(struct net_device *dev) * relevant bits for the filter. * * The filter can be inverted (CAN_INV_FILTER bit set in can_id) or it can - * filter for error frames (CAN_ERR_FLAG bit set in mask). For error frames - * there is a special filterlist and a special rx path filter handling. + * filter for error messages (CAN_ERR_FLAG bit set in mask). For error msg + * frames there is a special filterlist and a special rx path filter handling. * * Return: * Pointer to optimal filterlist for the given can_id/mask pair. @@ -347,7 +347,7 @@ static struct hlist_head *find_rcv_list(canid_t *can_id, canid_t *mask, { canid_t inv = *can_id & CAN_INV_FILTER; /* save flag before masking */ - /* filter for error frames in extra filterlist */ + /* filter for error message frames in extra filterlist */ if (*mask & CAN_ERR_FLAG) { /* clear CAN_ERR_FLAG in filter entry */ *mask &= CAN_ERR_MASK; @@ -408,7 +408,7 @@ static struct hlist_head *find_rcv_list(canid_t *can_id, canid_t *mask, * <received_can_id> & mask == can_id & mask * * The filter can be inverted (CAN_INV_FILTER bit set in can_id) or it can - * filter for error frames (CAN_ERR_FLAG bit set in mask). + * filter for error message frames (CAN_ERR_FLAG bit set in mask). * * The provided pointer to the sk_buff is guaranteed to be valid as long as * the callback function is running. The callback function must *not* free @@ -578,7 +578,7 @@ static int can_rcv_filter(struct dev_rcv_lists *d, struct sk_buff *skb) return 0; if (can_id & CAN_ERR_FLAG) { - /* check for error frame entries only */ + /* check for error message frame entries only */ hlist_for_each_entry_rcu(r, n, &d->rx[RX_ERR], list) { if (can_id & r->mask) { deliver(skb, r); |