Commit 00b1ea9
Use argument structure for nvme_sanize_nvm()
Use an argument structure instead of passing all arguments one by one.
This allows for a future expansion of the argument list without having
to change the library ABI.
Signed-off-by: Hannes Reinecke <[email protected]>1 parent 38692fd commit 00b1ea9
2 files changed
Lines changed: 30 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1453 | 1453 | | |
1454 | 1454 | | |
1455 | 1455 | | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
| 1456 | + | |
1459 | 1457 | | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1466 | 1464 | | |
1467 | 1465 | | |
1468 | 1466 | | |
1469 | 1467 | | |
1470 | 1468 | | |
1471 | | - | |
| 1469 | + | |
1472 | 1470 | | |
1473 | 1471 | | |
1474 | | - | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3437 | 3437 | | |
3438 | 3438 | | |
3439 | 3439 | | |
3440 | | - | |
| 3440 | + | |
3441 | 3441 | | |
3442 | 3442 | | |
3443 | 3443 | | |
| |||
3447 | 3447 | | |
3448 | 3448 | | |
3449 | 3449 | | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
| 3459 | + | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
3450 | 3467 | | |
3451 | 3468 | | |
3452 | 3469 | | |
| |||
3461 | 3478 | | |
3462 | 3479 | | |
3463 | 3480 | | |
3464 | | - | |
3465 | | - | |
3466 | | - | |
| 3481 | + | |
3467 | 3482 | | |
3468 | 3483 | | |
3469 | 3484 | | |
| |||
0 commit comments