LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com> To: Qian Cai <cai@lca.pw> Cc: Andrew Morton <akpm@linux-foundation.org>, Vishal L Verma <vishal.l.verma@intel.com>, Dave Jiang <dave.jiang@intel.com>, Keith Busch <keith.busch@intel.com>, "Weiny, Ira" <ira.weiny@intel.com>, linux-nvdimm <linux-nvdimm@lists.01.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: Re: [PATCH] nvdimm: fix compilation warnings with W=1 Date: Thu, 16 May 2019 11:27:36 -0700 [thread overview] Message-ID: <CAPcyv4jJ4AX7OKLBMo3SSomrneRef6OB=qpBESiQwAinnM+How@mail.gmail.com> (raw) In-Reply-To: <1558022693-9631-1-git-send-email-cai@lca.pw> On Thu, May 16, 2019 at 9:05 AM Qian Cai <cai@lca.pw> wrote: > > Several places (dimm_devs.c, core.c etc) include label.h but only > label.c uses NSINDEX_SIGNATURE, so move its definition to label.c > instead. > > In file included from drivers/nvdimm/dimm_devs.c:23: > drivers/nvdimm/label.h:41:19: warning: 'NSINDEX_SIGNATURE' defined but > not used [-Wunused-const-variable=] > > Also, some places abuse "/**" which is only reserved for the kernel-doc. > > drivers/nvdimm/bus.c:648: warning: cannot understand function prototype: > 'struct attribute_group nd_device_attribute_group = ' > drivers/nvdimm/bus.c:677: warning: cannot understand function prototype: > 'struct attribute_group nd_numa_attribute_group = ' > > Those are just some member assignments for the "struct attribute_group" > instances and it can't be expressed in the kernel-doc. Ah, good point, I missed that. > Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> > Signed-off-by: Qian Cai <cai@lca.pw> Looks good, I'll pull this in for a post -rc1 update.
prev parent reply other threads:[~2019-05-16 18:27 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-16 16:04 [PATCH] nvdimm: fix compilation warnings with W=1 Qian Cai 2019-05-16 18:27 ` Dan Williams [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CAPcyv4jJ4AX7OKLBMo3SSomrneRef6OB=qpBESiQwAinnM+How@mail.gmail.com' \ --to=dan.j.williams@intel.com \ --cc=akpm@linux-foundation.org \ --cc=cai@lca.pw \ --cc=dave.jiang@intel.com \ --cc=ira.weiny@intel.com \ --cc=keith.busch@intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-nvdimm@lists.01.org \ --cc=vishal.l.verma@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).