diff options
author | Ben Hutchings <[email protected]> | 2008-07-10 16:52:52 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-07-10 16:52:52 -0700 |
commit | 2e655571c618434c24ac2ca989374fdd84470d6d (patch) | |
tree | bf339af1fa392043afa9780d8f08e25ac6358a70 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 3d8ea1fd7001f39b5cc0ad2ff51696292ea3cfbf (diff) |
ipv4: fib_trie: Fix lookup error return
In commit a07f5f508a4d9728c8e57d7f66294bf5b254ff7f "[IPV4] fib_trie: style
cleanup", the changes to check_leaf() and fn_trie_lookup() were wrong - where
fn_trie_lookup() would previously return a negative error value from
check_leaf(), it now returns 0.
Now fn_trie_lookup() doesn't appear to care about plen, so we can revert
check_leaf() to returning the error value.
Signed-off-by: Ben Hutchings <[email protected]>
Tested-by: William Boughton <[email protected]>
Acked-by: Stephen Heminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions