]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvmecontrol: Make the error log page work on native format
authorWarner Losh <imp@FreeBSD.org>
Tue, 16 Apr 2024 22:35:46 +0000 (16:35 -0600)
committerWarner Losh <imp@FreeBSD.org>
Wed, 17 Apr 2024 03:30:17 +0000 (21:30 -0600)
commit85656a9a015339f3d412e5b1888e798bb3e7d4ba
tree0dbfd900dc5804406f9c5b983a9b48377fa0d225
parent67163bc485a56d960b72fb26f19685682b92dd6b
nvmecontrol: Make the error log page work on native format

As the number of page types proliferates, it becomes untennable to
convert them in read_logpage (especailly since new UUID page types will
need to be supported). Convert the error page printing code to operate
on little endian data.

Sponsored by: Netflix
Reviewed by: chuck
Differential Revision: https://reviews.freebsd.org/D44680
sbin/nvmecontrol/logpage.c