From: kernel test robot <lkp@intel.com>
To: Nayna Jain <nayna@linux.ibm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Michael Ellerman <mpe@ellerman.id.au>,
linux-doc@vger.kernel.org
Subject: arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Fri, 4 Aug 2023 04:52:29 +0800 [thread overview]
Message-ID: <202308040430.GxmPAnwZ-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7bafbd4027ae86572f308c4ddf93120c90126332
commit: 2454a7af0f2a42918aa972147a0bec38e6656cd8 powerpc/pseries: define driver for Platform KeyStore
date: 1 year ago
config: powerpc-ppc64_defconfig (https://download.01.org/0day-ci/archive/20230804/202308040430.GxmPAnwZ-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230804/202308040430.GxmPAnwZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308040430.GxmPAnwZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Label is combination of label attributes + name.
vim +186 arch/powerpc/platforms/pseries/plpks.c
184
185 /**
> 186 * Label is combination of label attributes + name.
187 * Label attributes are used internally by kernel and not exposed to the user.
188 */
189 static struct label *construct_label(char *component, u8 varos, u8 *name,
190 u16 namelen)
191 {
192 struct label *label;
193 size_t slen;
194
195 if (!name || namelen > MAX_NAME_SIZE)
196 return ERR_PTR(-EINVAL);
197
198 slen = strlen(component);
199 if (component && slen > sizeof(label->attr.prefix))
200 return ERR_PTR(-EINVAL);
201
202 label = kzalloc(sizeof(*label), GFP_KERNEL);
203 if (!label)
204 return ERR_PTR(-ENOMEM);
205
206 if (component)
207 memcpy(&label->attr.prefix, component, slen);
208
209 label->attr.version = LABEL_VERSION;
210 label->attr.os = varos;
211 label->attr.length = MAX_LABEL_ATTR_SIZE;
212 memcpy(&label->name, name, namelen);
213
214 label->size = sizeof(struct label_attr) + namelen;
215
216 return label;
217 }
218
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-03 20:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202308040430.GxmPAnwZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=nayna@linux.ibm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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: link
Be 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