[RFC PATCH] nvmet: Make blksize_shift configurable
Chaitanya Kulkarni
chaitanyak at nvidia.com
Mon Apr 21 23:50:06 PDT 2025
On 4/18/25 02:08, Richard Weinberger wrote:
> +static ssize_t nvmet_ns_blksize_shift_show(struct config_item *item, char *page)
> +{
> + return sysfs_emit(page, "%d\n", to_nvmet_ns(item)->blksize_shift);
> +}
> +
I believe ns->blksize_shift is u32 to do we need %u ? unless we need to
re-interpret that value in int which I failed to understand.
if not please ignore this comment ...
-ck
More information about the Linux-nvme
mailing list