Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp55239yba; Wed, 15 May 2019 18:50:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlgq1HI+67o18/mNjfvk4Kyk3vVbxKvQ75fcdpXzdTB20maz5ldSGVcwDk0ueFyUTeMgjq X-Received: by 2002:a17:902:7082:: with SMTP id z2mr24084106plk.176.1557971415507; Wed, 15 May 2019 18:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557971415; cv=none; d=google.com; s=arc-20160816; b=Ivyqlw0AUS1nYLB0r+Xy0I0syvFodm5uJwpBy5lqkVWzAQg3CroWDZ0g+C+Irwn3NU r4h5aBKp44+0TugYcmUvGCElJDbux0fEIelbDKt+yGIRUYfDSn0CR26J2YVQFZee2rP4 ceRHkEC0pzHlYWiOZUjHusky8JyNk0QqCo03d303wmADt9MJw+1QOSWaomTf/gF7iuNx 8NSxoiB/1pxaXdhkR0lJGJGnWUrRTM508CJDFvSW9bTsdyESP2yWCzQ6Nvn7QtFLdIlq Ozomw8U9cPKYgwD2h7VYcjzr48wZVUVs2474tQAWcoqYGPeRc02haV/xlOALQhUbgwlC LElg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=xM+RFeuYKRxsIgkngGYK7F1nhOVwIknDUHFDYwBWS4M=; b=j8bomQsztOH3Zwgp0UuyngFnUTFIXi6pJ8SIEoC6NZ7NIfpdJ73mni8AMSnuQALeGn bLzQ0GZJjwcDwXBKOVx6pc2cm5ssFRk4tI8HCqHD3h6mu2yuJmY2I9dk9ucD6av4ONuC NbLMxm9X3BFdtRspNxV9xZ+LXy5Y4HddULKeTg/K7D8zsRfVw0iblkJLXvV9h8Cp705e L/79nNjGuYW9l0Sg5T3DrmCqMZtbugpggZJSV8qvpyvpsx8zGX1fP9pmWDacWsG//1/3 9R6rFu80kQ7fpmFjQopntVZr/zXKVDusfMTEr6zhN6sINRgJW/Ngg12E+zPMrIpEiS12 sQXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=ce87YEoH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8si3393528pgc.137.2019.05.15.18.49.41; Wed, 15 May 2019 18:50:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=ce87YEoH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727650AbfEPBqu (ORCPT + 99 others); Wed, 15 May 2019 21:46:50 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:37430 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726569AbfEPAbe (ORCPT ); Wed, 15 May 2019 20:31:34 -0400 Received: by mail-qk1-f196.google.com with SMTP id d10so1224486qko.4 for ; Wed, 15 May 2019 17:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xM+RFeuYKRxsIgkngGYK7F1nhOVwIknDUHFDYwBWS4M=; b=ce87YEoHQ3gEM1Pzl/OZnHRrbCQNF03DWhlezURYXEiSlkgU4w4mEO67/poVC2z5le a7DclrrqaCnPRhZ2hMIjN2Ax7PaZGQci2kVFNksfsJ7RnluEd6LDYlf3M9b871fljHW8 4IwjunFUffu8qlpNONdUAYqTISgTgNo/vgKWZWhVNEKDLJeuQ7YzpmGht/RfwqaWBs0W xui8kjZq2sEEOlRIiENHuG6jlYQ24vX5rQyKSmP2pAHBBvk3Bh4P30TSBVU6dpTS/M1B 5zKkeAtsOJF7coQpXiBHJpQM2FeqGxb/MyBSa+Ab3Mq1STKRb06LMCoh1j4bRjVF3so5 9A4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xM+RFeuYKRxsIgkngGYK7F1nhOVwIknDUHFDYwBWS4M=; b=gvUg2xX9exLf6N0OqEYepOVvdF2LmxIsvGLBHlvfHG5mOPHmm26F55uQAnBjmlsOZZ mluGoN8lUIElBlEsToFgUbBLhVW73XF8f1VtaGkbP9d1VztL7kuVFbNq0hX0ZFOwxAwC BwAZgkiuJsQwOECNvgUjkGsDS5bqpVCYak7FYREZyZu6UHIuZv5Vr1TS9NWGGzy8Sqrx wYTegJ9esEq+OKN14j1pQQ9HU2TBS7wpIhiUAorh4m72yMImmaLFBhHwF13iNlU7KyQg sLGHqtq4wp1tji4BSzkxi+LCwQC8vy12U78YrPcdb62XKa0mK+EFn8JaVMN73LgVC3JF zXsg== X-Gm-Message-State: APjAAAW24Gb33LTWW4oyPZfNdvRu+nL1BpF3a6M3YepBKTcXQLkypfcg 04B/VXfAAa+dJt3BWfSPVGbE1Q== X-Received: by 2002:a37:aa42:: with SMTP id t63mr35422129qke.353.1557966692992; Wed, 15 May 2019 17:31:32 -0700 (PDT) Received: from qians-mbp.fios-router.home (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id m18sm1842826qki.21.2019.05.15.17.31.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 17:31:32 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [RESEND PATCH] nvdimm: fix some compilation warnings From: Qian Cai In-Reply-To: Date: Wed, 15 May 2019 20:31:31 -0400 Cc: Andrew Morton , Vishal L Verma , Dave Jiang , Keith Busch , "Weiny, Ira" , linux-nvdimm , Linux Kernel Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <3D0A6725-A738-4778-BB5B-1617B6184337@lca.pw> References: <20190514150735.39625-1-cai@lca.pw> To: Dan Williams X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> } >>=20 >> diff --git a/drivers/nvdimm/bus.c b/drivers/nvdimm/bus.c >> index 7ff684159f29..2eb6a6cfe9e4 100644 >> --- a/drivers/nvdimm/bus.c >> +++ b/drivers/nvdimm/bus.c >> @@ -642,7 +642,7 @@ static struct attribute *nd_device_attributes[] =3D= { >> NULL, >> }; >>=20 >> -/** >> +/* >> * nd_device_attribute_group - generic attributes for all devices on = an nd bus >> */ >> struct attribute_group nd_device_attribute_group =3D { >> @@ -671,7 +671,7 @@ static umode_t nd_numa_attr_visible(struct = kobject *kobj, struct attribute *a, >> return a->mode; >> } >>=20 >> -/** >> +/* >> * nd_numa_attribute_group - NUMA attributes for all devices on an nd = bus >> */ >=20 > Lets just fix this to be a valid kernel-doc format for a struct. >=20 > @@ -672,7 +672,7 @@ static umode_t nd_numa_attr_visible(struct kobject > *kobj, struct attribute *a, > } >=20 > /** > - * nd_numa_attribute_group - NUMA attributes for all devices on an nd = bus > + * struct nd_numa_attribute_group - NUMA attributes for all devices > on an nd bus > */ > struct attribute_group nd_numa_attribute_group =3D { > .attrs =3D nd_numa_attributes, This won=E2=80=99t work because kernel-doc is to explain a struct = definition, but this is a just an assignment. The "struct attribute_group=E2=80=9D kernel-doc is in = include/linux/sysfs.h.=