diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-06-07 22:54:50 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-16 06:36:16 +0300 |
commit | e7d4b5493a2d5a6225fc572e01167e12f89c6a42 (patch) | |
tree | 8b3f16f59dc03e7069a900229df7b98ac54fdb5c /drivers/leds/leds-pca9532.c | |
parent | d399742cd02dca6d1ed17ae7db7a366192516591 (diff) | |
download | linux-e7d4b5493a2d5a6225fc572e01167e12f89c6a42.tar.xz |
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 'drivers/leds/leds-pca9532.c')
0 files changed, 0 insertions, 0 deletions