Commit c785a0a
nvme-print-binary: fix to output phy rx eom log length
Previously incorrectly the log length is calculated by the LE log data.
So fix to convert the value from LE to host endian for the calculation.
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>1 parent 3634a93 commit c785a0a
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
0 commit comments