aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/cmd.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-17 00:01:04 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-17 00:01:04 -0400
commitca2812111433284024386a8cfd4151651469523e (patch)
treea4b9e4d4612f0ec8b524e86f74b44bfc4214d9d5 /drivers/net/mlx4/cmd.c
parent5d5e815db9651909e435918e46c84dfcbc36154f (diff)
mlx4_core: Move opening brace of function onto a new line
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/cmd.c')
-rw-r--r--drivers/net/mlx4/cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/mlx4/cmd.c b/drivers/net/mlx4/cmd.c
index db49051b97b1..70dff94a8bc6 100644
--- a/drivers/net/mlx4/cmd.c
+++ b/drivers/net/mlx4/cmd.c
@@ -106,7 +106,8 @@ struct mlx4_cmd_context {
106 u16 token; 106 u16 token;
107}; 107};
108 108
109static int mlx4_status_to_errno(u8 status) { 109static int mlx4_status_to_errno(u8 status)
110{
110 static const int trans_table[] = { 111 static const int trans_table[] = {
111 [CMD_STAT_INTERNAL_ERR] = -EIO, 112 [CMD_STAT_INTERNAL_ERR] = -EIO,
112 [CMD_STAT_BAD_OP] = -EPERM, 113 [CMD_STAT_BAD_OP] = -EPERM,