diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-06-07 12:54:50 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-16 05:36:16 +0200 |
commit | e7d4b5493a2d5a6225fc572e01167e12f89c6a42 (patch) | |
tree | 8b3f16f59dc03e7069a900229df7b98ac54fdb5c /scripts/Makefile.build | |
parent | d399742cd02dca6d1ed17ae7db7a366192516591 (diff) |
nvme: factor out a nvme_validate_passthru_nsid helper
Add a helper nvme_validate_passthru_nsid() to validate the nsid that
removes the nsid validation and error message print code from
nvme_user_cmd() and nvme_user_cmd64().
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/Makefile.build')
0 files changed, 0 insertions, 0 deletions