Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315172
b: refs/heads/master
c: 5d91efa
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Graf authored and Marc Kleine-Budde committed Jul 10, 2012
1 parent 2bdd221 commit 1825621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1da0faa3801e0dcb585b33266a2ac0842f26e58c
refs/heads/master: 5d91efa8dd8ced8647798d067f2ac8125194be58
6 changes: 2 additions & 4 deletions trunk/net/can/gw.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,7 @@ static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod,
if (modidx) {

if (tb[CGW_CS_CRC8]) {
struct cgw_csum_crc8 *c = (struct cgw_csum_crc8 *)\
nla_data(tb[CGW_CS_CRC8]);
struct cgw_csum_crc8 *c = nla_data(tb[CGW_CS_CRC8]);

err = cgw_chk_csum_parms(c->from_idx, c->to_idx,
c->result_idx);
Expand All @@ -686,8 +685,7 @@ static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod,
}

if (tb[CGW_CS_XOR]) {
struct cgw_csum_xor *c = (struct cgw_csum_xor *)\
nla_data(tb[CGW_CS_XOR]);
struct cgw_csum_xor *c = nla_data(tb[CGW_CS_XOR]);

err = cgw_chk_csum_parms(c->from_idx, c->to_idx,
c->result_idx);
Expand Down

0 comments on commit 1825621

Please sign in to comment.