]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: fix some WARN() messages
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 15 Apr 2017 18:55:52 +0000 (20:55 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 16 Apr 2017 16:06:34 +0000 (10:06 -0600)
commit5e57034397669864ba98dbdeff82e7e0faef4430
treec128e8f600befd4da6cf05b3eb3212275aa08821
parentdde11eead6cad931165cb2c00642255b84770eba
lightnvm: fix some WARN() messages

WARN_ON() takes a condition, not an error message.  I slightly tweaked
some conditions so hopefully it's more clear.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk-write.c