Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100969
b: refs/heads/master
c: 2bca76e
h: refs/heads/master
i:
  100967: 5b79999
v: v3
  • Loading branch information
David Howells authored and David Woodhouse committed Jul 10, 2008
1 parent 8832a9d commit 7a5d121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b561c74ae2832d32cc189ecd82863d31151cdcb5
refs/heads/master: 2bca76e89bc43f86136080536858048ebffab3e3
4 changes: 2 additions & 2 deletions trunk/drivers/char/moxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ static int moxa_load_code(struct moxa_board_conf *brd, const void *ptr,

static int moxa_load_fw(struct moxa_board_conf *brd, const struct firmware *fw)
{
void *ptr = fw->data;
const void *ptr = fw->data;
char rsn[64];
u16 lens[5];
size_t len;
Expand All @@ -734,7 +734,7 @@ static int moxa_load_fw(struct moxa_board_conf *brd, const struct firmware *fw)
u8 model; /* C218T=1, C320T=2, CP204=3 */
u8 reserved2[8];
__le16 len[5];
} *hdr = ptr;
} const *hdr = ptr;

BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens));

Expand Down

0 comments on commit 7a5d121

Please sign in to comment.