commit | 15b8e19131486856373592e45793a79aefb6fbe7 | [log] [tgz] |
---|---|---|
author | roel kluin <roel.kluin@gmail.com> | Thu Apr 23 08:53:20 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 27 03:20:17 2009 -0700 |
tree | e833a48bf5da7b2fdecb5894fd5dcfa7935b54a4 | |
parent | 683703a26e4677db437a1480682851e27c7a154f [diff] |
pasemi_mac: mac_to_intf() error not noticed mac_to_intf() can return -1 when no device or function is found, but when mac->dma_if is unsigned. The error wasn't noticed. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: David S. Miller <davem@davemloft.net>