commit | ca2812111433284024386a8cfd4151651469523e | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Wed Apr 16 21:01:04 2008 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 16 21:01:04 2008 -0700 |
tree | a4b9e4d4612f0ec8b524e86f74b44bfc4214d9d5 | |
parent | 5d5e815db9651909e435918e46c84dfcbc36154f [diff] [blame] |
mlx4_core: Move opening brace of function onto a new line Signed-off-by: Roland Dreier <rolandd@cisco.com>
diff --git a/drivers/net/mlx4/cmd.c b/drivers/net/mlx4/cmd.c index db49051..70dff94 100644 --- a/drivers/net/mlx4/cmd.c +++ b/drivers/net/mlx4/cmd.c
@@ -106,7 +106,8 @@ u16 token; }; -static int mlx4_status_to_errno(u8 status) { +static int mlx4_status_to_errno(u8 status) +{ static const int trans_table[] = { [CMD_STAT_INTERNAL_ERR] = -EIO, [CMD_STAT_BAD_OP] = -EPERM,