]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-print: add one space around the operators
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Sun, 14 Feb 2021 05:19:45 +0000 (10:49 +0530)
committerKeith Busch <kbusch@kernel.org>
Tue, 16 Feb 2021 02:33:36 +0000 (19:33 -0700)
Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
nvme-print.c

index bda75acb2ee02aad5824a10f15316252267ed6e8..1ac99a9fb4b194e7019e45fcb9006a399a9cf63e 100644 (file)
@@ -5008,7 +5008,7 @@ static const char *nvme_feature_lba_type_to_string(__u8 type)
        case 3: return "Cache";
        case 4: return "Page / Swap file";
        default:
-               if (type>=0x05 && type<=0x7f)
+               if (type >= 0x05 && type <= 0x7f)
                        return "Reserved";
                else
                        return "Vendor Specific";