[PATCH] nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH

Yi Zhang yi.zhang at redhat.com
Tue Apr 9 17:59:29 PDT 2024


On Wed, Apr 10, 2024 at 6:40 AM Chaitanya Kulkarni
<chaitanyak at nvidia.com> wrote:
>
> On 4/7/2024 11:18 PM, Yi Zhang wrote:
> > Only print oneline log about shared namespaces without CONFIG_NVME_MULTIPATH
> >
>
> Consider following commit log :-
>
> Move the period '.'that is currently at the end of the line after
>                                                      newline '\n' to
> before newline character which is the right position.
Thanks, just send v2 as suggested.

>
> > Fixes: ce8d78616a6b ("nvme: warn about shared namespaces without CONFIG_NVME_MULTIPATH") > Signed-off-by: Yi Zhang <yi.zhang at redhat.com>
> > ---
> >   drivers/nvme/host/core.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> > index 27281a9a8951..e4bec200ebeb 100644
> > --- a/drivers/nvme/host/core.c
> > +++ b/drivers/nvme/host/core.c
> > @@ -3681,7 +3681,7 @@ static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
> >                               "Found shared namespace %d, but multipathing not supported.\n",
> >                               info->nsid);
> >                       dev_warn_once(ctrl->device,
> > -                             "Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0\n.");
> > +                             "Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0.\n");
> >               }
> >       }
> >



-- 
Best Regards,
  Yi Zhang




More information about the Linux-nvme mailing list