Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162635343
D55334.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
504 B
Referenced Files
None
Subscribers
None
D55334.diff
View Options
diff --git a/sbin/nvmecontrol/identify_ext.c b/sbin/nvmecontrol/identify_ext.c
--- a/sbin/nvmecontrol/identify_ext.c
+++ b/sbin/nvmecontrol/identify_ext.c
@@ -106,7 +106,7 @@
if (cdata->mdts == 0)
printf("Unlimited\n");
else
- printf("%ld bytes\n", PAGE_SIZE * (1L << cdata->mdts));
+ printf("%ld bytes\n", 1L << (cdata->mdts + NVME_MPS_SHIFT));
printf("Sanitize Crypto Erase: %s\n",
NVMEV(NVME_CTRLR_DATA_SANICAP_CES, cdata->sanicap) != 0 ?
"Supported" : "Not Supported");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:08 AM (17 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35128567
Default Alt Text
D55334.diff (504 B)
Attached To
Mode
D55334: nvmecontrol: Remove an incorrect use of PAGE_SIZE
Attached
Detach File
Event Timeline
Log In to Comment