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)
commit2a79efd833dd51c4362af655b9b011393c423f18
treec128e8f600befd4da6cf05b3eb3212275aa08821
parent503ec94eca4f49c0a18d67bb60445fe998a601ae
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