summaryrefslogtreecommitdiff
path: root/drivers/powercap
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-06-07 22:54:50 +0300
committerChristoph Hellwig <hch@lst.de>2021-06-16 06:36:16 +0300
commite7d4b5493a2d5a6225fc572e01167e12f89c6a42 (patch)
tree8b3f16f59dc03e7069a900229df7b98ac54fdb5c /drivers/powercap
parentd399742cd02dca6d1ed17ae7db7a366192516591 (diff)
downloadlinux-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/powercap')
0 files changed, 0 insertions, 0 deletions