Re: [RESEND PATCH] nvdimm: fix some compilation warnings

From: Verma, Vishal L
Date: Wed Jun 26 2019 - 17:43:59 EST



On Wed, 2019-06-26 at 17:00 -0400, Qian Cai wrote:
>
> Verma, are you still working on this? I can still see this warning in the latest
> linux-next.
>
> drivers/nvdimm/btt.c: In function 'btt_read_pg':
> drivers/nvdimm/btt.c:1272:8: warning: variable 'rc' set but not used
> [-Wunused-but-set-variable]
>
Sorry, this fell off the list. I'll take a look soon, but in the
meanwhile, if a patch were to appear, I'd be happy to review it :)
(i.e. feel free to take a shot at it).

Thanks,
-Vishal