Skip to contentSkip to conversation

libndctl: adjust indentation in add_dimm()

PATCH In review Brian Boylston 2 participants 2 messages Sep 8, 2016 libnvdimm: non-volatile memory device

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libndctl: adjust indentation in add_dimm()

Use tabs instead of spaces to match the rest of the code.

---
 ndctl/lib/libndctl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
ndctl/lib/libndctl.c +4 -4
index 5f354ac..93f79f7 100644
@@ -1149,10 +1149,10 @@ static int add_dimm(void *parent, int id, const char *dimm_base)
 		goto err_read;
 	dimm->dsm_mask = parse_commands(buf, 1);
 
-        dimm->dimm_buf = calloc(1, strlen(dimm_base) + 50);
-        if (!dimm->dimm_buf)
-                goto err_read;
-        dimm->buf_len = strlen(dimm_base) + 50;
+	dimm->dimm_buf = calloc(1, strlen(dimm_base) + 50);
+	if (!dimm->dimm_buf)
+		goto err_read;
+	dimm->buf_len = strlen(dimm_base) + 50;
 
 	dimm->dimm_path = strdup(dimm_base);
 	if (!dimm->dimm_path)
Signature · 6 lines
2.8.3

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm