We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 466ff7d commit aaa4664Copy full SHA for aaa4664
nvme-print-stdout.c
@@ -598,7 +598,7 @@ static void stdout_fid_support_effects_log_human(__u32 fid_support)
598
printf(" CCC%s", (fid_support & NVME_FID_SUPPORTED_EFFECTS_CCC) ? set : clr);
599
printf(" USS%s", (fid_support & NVME_FID_SUPPORTED_EFFECTS_UUID_SEL) ? set : clr);
600
601
- fsp = (fid_support >> NVME_FID_SUPPORTED_EFFECTS_SCOPE_SHIFT) & NVME_FID_SUPPORTED_EFFECTS_SCOPE_MASK;
+ fsp = NVME_GET(fid_support, FID_SUPPORTED_EFFECTS_SCOPE);
602
603
printf(" NAMESPACE SCOPE%s", (fsp & NVME_FID_SUPPORTED_EFFECTS_SCOPE_NS) ? set : clr);
604
printf(" CONTROLLER SCOPE%s", (fsp & NVME_FID_SUPPORTED_EFFECTS_SCOPE_CTRL) ? set : clr);
0 commit comments