lightnvm: pblk: fix message if L2P MAP is in device
authorRakesh Pandit <rakesh@tuxera.com>
Fri, 13 Oct 2017 12:45:57 +0000 (14:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
This usually happens if we are developing with qemu and ll2pmode has
default value. Improve description.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-init.c

index 05665a7..8c85779 100644 (file)
@@ -914,7 +914,7 @@ static void *pblk_init(struct nvm_tgt_dev *dev, struct gendisk *tdisk,
        int ret;
 
        if (dev->identity.dom & NVM_RSP_L2P) {
-               pr_err("pblk: device-side L2P table not supported. (%x)\n",
+               pr_err("pblk: host-side L2P table not supported. (%x)\n",
                                                        dev->identity.dom);
                return ERR_PTR(-EINVAL);
        }