Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163486116
D44655.id136618.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1007 B
Referenced Files
None
Subscribers
None
D44655.id136618.diff
View Options
diff --git a/sbin/nvmecontrol/logpage.c b/sbin/nvmecontrol/logpage.c
--- a/sbin/nvmecontrol/logpage.c
+++ b/sbin/nvmecontrol/logpage.c
@@ -219,10 +219,6 @@
/* Convert data to host endian */
switch (log_page) {
- case NVME_LOG_COMMAND_EFFECT:
- nvme_command_effects_page_swapbytes(
- (struct nvme_command_effects_page *)payload);
- break;
case NVME_LOG_RES_NOTIFICATION:
nvme_res_notification_page_swapbytes(
(struct nvme_res_notification_page *)payload);
@@ -441,7 +437,7 @@
printf(" Command\tLBCC\tNCC\tNIC\tCCC\tCSE\tUUID\n");
for (i = 0; i < 255; i++) {
- s = ce->acs[i];
+ s = LE2H(ce->acs[i]);
if (NVMEV(NVME_CE_PAGE_CSUP, s) == 0)
continue;
printf("Admin\t%02x\t%s\t%s\t%s\t%s\t%u\t%s\n", i,
@@ -453,7 +449,7 @@
NVMEV(NVME_CE_PAGE_UUID, s) != 0 ? "Yes" : "No");
}
for (i = 0; i < 255; i++) {
- s = ce->iocs[i];
+ s = LE2H(ce->iocs[i]);
if (NVMEV(NVME_CE_PAGE_CSUP, s) == 0)
continue;
printf("I/O\t%02x\t%s\t%s\t%s\t%s\t%u\t%s\n", i,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 4:42 PM (31 m, 10 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35448457
Default Alt Text
D44655.id136618.diff (1007 B)
Attached To
Mode
D44655: nvmecontrol: Move command effeccts page printing to little endian orderinng
Attached
Detach File
Event Timeline
Log In to Comment