Re: [PATCH v1 1/1] nvdimm/namespace: drop nested variable in create_namespace_pmem()
From: Andy Shevchenko
Date: Tue Jun 21 2022 - 07:57:18 EST
On Tue, Jun 07, 2022 at 07:49:37PM +0300, Andy Shevchenko wrote:
> Kernel build bot reported:
>
> namespace_devs.c:1991:10: warning: Local variable 'uuid' shadows outer variable [shadowVariable]
>
> Refactor create_namespace_pmem() by dropping a nested version of
> the same variable.
Any comments on this and other two patches?
--
With Best Regards,
Andy Shevchenko