Commit a57c1b3
nvme-print: introduce nvme_show_cmd_err() helper function
Add the cmd argument for nvme_show_err() to use nvme_show_opcode_status().
Do not change nvme_show_err() itself so add nvme_show_cmd_err() instead.
Also add admin variable into the nvme_passthru_cmd structure.
Signed-off-by: Tokunori Ikegami <[email protected]>1 parent feb4916 commit a57c1b3
3 files changed
Lines changed: 33 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
| 524 | + | |
524 | 525 | | |
525 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
526 | 529 | | |
527 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
528 | 533 | | |
529 | 534 | | |
530 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
531 | 553 | | |
532 | 554 | | |
533 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5603 | 5603 | | |
5604 | 5604 | | |
5605 | 5605 | | |
5606 | | - | |
5607 | | - | |
5608 | | - | |
5609 | | - | |
| 5606 | + | |
| 5607 | + | |
| 5608 | + | |
| 5609 | + | |
5610 | 5610 | | |
5611 | 5611 | | |
5612 | 5612 | | |
| |||
0 commit comments