[ewg] [PATCH] IB/madeye - Fix a minor output alignment printk

Ralph Campbell ralph.campbell at qlogic.com
Thu Oct 18 13:17:10 PDT 2007


The hop pointer and hop count values are not printed in the same
column as the other fields.

Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>

diff --git a/drivers/infiniband/util/madeye.c b/drivers/infiniband/util/madeye.c
index aaaaafe..c91d3bb 100644
--- a/drivers/infiniband/util/madeye.c
+++ b/drivers/infiniband/util/madeye.c
@@ -359,8 +359,8 @@ static void print_smp(struct ib_smp *smp)
 	printk("Status.........0x%02x\n", be16_to_cpu(smp->status));
 	if (smp->status)
 		print_status_details(be16_to_cpu(smp->status));
-	printk("Hop pointer...0x%01x\n", smp->hop_ptr);
-	printk("Hop counter...0x%01x\n", smp->hop_cnt);
+	printk("Hop pointer....0x%01x\n", smp->hop_ptr);
+	printk("Hop counter....0x%01x\n", smp->hop_cnt);
 	printk("Trans ID.......0x%llx\n", smp->tid);
 	printk("Attr ID........0x%02x (%s)\n", be16_to_cpu(smp->attr_id),
 		get_smp_attr(smp->attr_id));





More information about the ewg mailing list