From: Tokunori Ikegami Date: Sun, 10 Mar 2024 05:06:09 +0000 (+0900) Subject: nvme-print, common: Fix for whitespace change X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=127e2f9f2f3dba6a2229bbd0b5f329e5e1b58abd;p=users%2Fsagi%2Fnvme-cli.git nvme-print, common: Fix for whitespace change Fix to change space characters for indentation to tab characters. Delete a space between cast parentheses and variable. Signed-off-by: Tokunori Ikegami --- diff --git a/common.h b/common.h index b5594e9f..b1161189 100644 --- a/common.h +++ b/common.h @@ -32,7 +32,7 @@ static inline uint64_t mmio_read64(void *addr) low = le32_to_cpu(*p); high = le32_to_cpu(*(p + 1)); - return ((uint64_t) high << 32) | low; + return ((uint64_t)high << 32) | low; } #endif diff --git a/nvme.c b/nvme.c index f75c3ba1..ef593e15 100644 --- a/nvme.c +++ b/nvme.c @@ -504,7 +504,7 @@ static int get_ana_log(int argc, char **argv, struct command *cmd, "decoded format (default), json or binary."; const char *groups = "Return ANA groups only."; - _cleanup_nvme_dev_ struct nvme_dev *dev= NULL; + _cleanup_nvme_dev_ struct nvme_dev *dev = NULL; _cleanup_free_ struct nvme_id_ctrl *ctrl = NULL; _cleanup_free_ void *ana_log = NULL; size_t ana_log_len;