public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/infiniband/mlx/mad.c misplaced ;
@ 2007-08-15 23:58 Dave Jones
  2007-08-16  0:40 ` Joe Perches
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Dave Jones @ 2007-08-15 23:58 UTC (permalink / raw)
  To: Linux Kernel; +Cc: rolandd

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/drivers/infiniband/hw/mlx4/mad.c b/drivers/infiniband/hw/mlx4/mad.c
index 3330917..0ed02b7 100644
--- a/drivers/infiniband/hw/mlx4/mad.c
+++ b/drivers/infiniband/hw/mlx4/mad.c
@@ -109,7 +109,7 @@ int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int ignore_mkey, int ignore_bkey,
 			   in_modifier, op_modifier,
 			   MLX4_CMD_MAD_IFC, MLX4_CMD_TIME_CLASS_C);
 
-	if (!err);
+	if (!err)
 		memcpy(response_mad, outmailbox->buf, 256);
 
 	mlx4_free_cmd_mailbox(dev->dev, inmailbox);

-- 
http://www.codemonkey.org.uk

^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2007-08-23 12:28 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 23:58 drivers/infiniband/mlx/mad.c misplaced ; Dave Jones
2007-08-16  0:40 ` Joe Perches
2007-08-16  2:19   ` Kok, Auke
2007-08-16  3:17     ` Joe Perches
2007-08-16  4:20       ` Kok, Auke
2007-08-16 10:21       ` [netfilter-core] " Patrick McHardy
2007-08-16 14:05     ` Andy Whitcroft
2007-08-16  8:46   ` Heiko Carstens
2007-08-16 10:22     ` Ilpo Järvinen
2007-08-16 11:01       ` Karsten Keil
2007-08-18 15:14         ` Daniel Schaffrath
2007-08-16 12:41       ` Satyam Sharma
2007-08-16 14:52   ` Jeff Dike
2007-08-17  6:54     ` [PATCH] hostfs: Remove pointless if statement Satyam Sharma
2007-08-17 13:54       ` Jeff Dike
2007-08-16 16:19   ` drivers/infiniband/mlx/mad.c misplaced ; Paul Mundt
2007-08-16  3:39 ` Roland Dreier
2007-08-16 13:18 ` [PATCH 0/6] checkpatch checks for trailing semicolons on conditionals Andy Whitcroft
2007-08-16 13:18   ` [PATCH 1/6] mips: irix_getcontext will always fail EFAULT Andy Whitcroft
2007-08-22 22:35     ` Ralf Baechle
2007-08-16 13:18   ` [PATCH 2/6] powerpc: hash_preload fails to preload under CONFIG_PPC_MM_SLICES Andy Whitcroft
2007-08-16 13:18   ` [PATCH 3/6] sh: remove extraneous ; on scif_sercon_putc wait loop Andy Whitcroft
2007-08-16 16:27     ` Paul Mundt
2007-08-16 13:19   ` [PATCH 4/6] infiniband: mlx4_MAD_IFC copies out response unconditionally Andy Whitcroft
2007-08-16 15:01     ` Roland Dreier
2007-08-16 13:19   ` [PATCH 5/6] irda_nl_get_mode: always results in failure Andy Whitcroft
2007-08-16 13:19   ` [PATCH 6/6] netfilter: xt_u32: fix length checks in u32_match_it Andy Whitcroft
2007-08-16 14:32     ` Patrick McHardy
2007-08-16 14:21   ` [PATCH 0/6] checkpatch checks for trailing semicolons on conditionals Satyam Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox