Home
last modified time | relevance | path

Searched hist:"7522 bf7b164d69e557edd7ab6fb30b1cba93e788" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/nvme/
H A Dnvme.c7522bf7b164d69e557edd7ab6fb30b1cba93e788 Tue Jun 22 13:16:19 UTC 2021 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: nvme: Eliminate the offset of one during block dev creation

At present there is an offset of one added during the creation of
block device. This can be very confusing as we wanted to encode the
namespace id in the block device name but namespae id cannot be zero.

This changes to use the namespace id directly in the block device
name, eliminating the offset of one effectively.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Change-Id: I80d9bee9338ab5495e770ac7feb8df4fa425e434
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 8c60d40d69fd834f67322bbcea06ef0adf9076e1)