Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9333
b: refs/heads/master
c: 0eb8017
h: refs/heads/master
i:
  9331: 7ca4bda
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Sep 22, 2005
1 parent 9bd0993 commit 6077221
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5a770c0262262e96979fe05d5c2fa1d1f409dbdc
refs/heads/master: 0eb8017242cb7e8b18af4751b03646436b8f90e3
8 changes: 4 additions & 4 deletions trunk/net/llc/llc_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,14 +544,14 @@ u8 llc_data_accept_state(u8 state)
}

/**
* find_next_offset - finds offset for next category of transitions
* llc_find_next_offset - finds offset for next category of transitions
* @state: state table.
* @offset: start offset.
*
* Finds offset of next category of transitions in transition table.
* Returns the start index of next category.
*/
static u16 find_next_offset(struct llc_conn_state *state, u16 offset)
static u16 __init llc_find_next_offset(struct llc_conn_state *state, u16 offset)
{
u16 cnt = 0;
struct llc_conn_state_trans **next_trans;
Expand All @@ -578,8 +578,8 @@ void __init llc_build_offset_table(void)
next_offset = 0;
for (ev_type = 0; ev_type < NBR_CONN_EV; ev_type++) {
llc_offset_table[state][ev_type] = next_offset;
next_offset += find_next_offset(curr_state,
next_offset) + 1;
next_offset += llc_find_next_offset(curr_state,
next_offset) + 1;
}
}
}
Expand Down

0 comments on commit 6077221

Please sign in to comment.