]> asedeno.scripts.mit.edu Git - linux.git/commit
lightnvm: remove function name in strings
authorMatias Bjørling <mb@lightnvm.io>
Thu, 29 Mar 2018 22:05:24 +0000 (00:05 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Mar 2018 23:29:09 +0000 (17:29 -0600)
commitb65125fa57973baeabc3a6fe2f8c1179bd45fd95
tree7abf3254448518a02982235031e12e32cb631b57
parent5565b0ca50b5b82e0439f6e4dc7fbb122cd0b025
lightnvm: remove function name in strings

For the sysfs functions, the function names are embedded into their
error strings. If the function name later changes, the string may
not be updated accordingly. Update the strings to use __func__
to avoid this.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/lightnvm.c