libndctl: adjust indentation in add_dimm()
PATCH 1/1 libndctl: adjust indentation in add_dimm()
Use tabs instead of spaces to match the rest of the code.
Cc Dan Williams <[email protected]>
Signed-off-by Brian Boylston <[email protected]>
--- ndctl/lib/libndctl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
ndctl/lib/libndctl.c +4 -4
@@ -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
Quoted 4 lines · Brian Boylston
Use tabs instead of spaces to match the rest of the code.
Cc Dan Williams <[email protected]>Signed-off-by Brian Boylston <[email protected]>
Thanks, applied.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm