[openib-general] [PATCH 07/12] SRP: Changing ibsrpdm
Ishai Rabinovitz
ishai at mellanox.co.il
Mon May 1 04:29:27 PDT 2006
Remove trailing spaces and arranging tabs.
Signed-off-by: Ishai Rabinovitz <ishai at mellanox.co.il>
Index: last_stable/src/userspace/srptools/src/srp-dm.c
===================================================================
--- last_stable.orig/src/userspace/srptools/src/srp-dm.c 2006-04-21 03:54:05.000000000 +0300
+++ last_stable/src/userspace/srptools/src/srp-dm.c 2006-04-21 04:20:43.000000000 +0300
@@ -102,7 +102,6 @@ static int read_file(const char *dir, co
return len;
}
-
static int setup_port_sysfs_path(void) {
char *env;
char class_dev_path[256];
@@ -135,7 +134,7 @@ static int setup_port_sysfs_path(void) {
fprintf(stderr, "Couldn't read ibdev attribute\n");
return -1;
}
-
+
if (read_file(class_dev_path, "port", ibport, sizeof ibport) < 0) {
fprintf(stderr, "Couldn't read port attribute\n");
return -1;
@@ -385,7 +384,7 @@ static int do_port(int fd, uint32_t agen
pr_human(" change ID: %04x\n", ntohs(iou_info.change_id));
pr_human(" max controllers: 0x%02x\n", iou_info.max_controllers);
- if (verbose > 0)
+ if (verbose > 0)
for (i = 0; i < iou_info.max_controllers; ++i) {
pr_human(" controller[%3d]: ", i + 1);
switch ((iou_info.controller_list[i / 2] >>
--
Ishai Rabinovitz
More information about the general
mailing list