]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: sti: quieten kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 23 Jul 2021 18:25:58 +0000 (11:25 -0700)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 30 Aug 2021 04:50:12 +0000 (23:50 -0500)
commite8b8b9a57c1c2239351ed9b4e7a06517fb3b8779
tree3a44d52ae96804afe1bf77ecc68cb0b54b2bdd06
parent3229a5092168e3549381e4f42eb858a9fde191e8
mailbox: sti: quieten kernel-doc warnings

Use kernel-doc struct notation for the mailbox structs to prevent
these kernel-doc warnings:

   drivers/mailbox/mailbox-sti.c:39: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * STi Mailbox device data
   drivers/mailbox/mailbox-sti.c:63: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * STi Mailbox platform specific configuration
   drivers/mailbox/mailbox-sti.c:74: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * STi Mailbox allocated channel information

Also move the field descriptions ahead of the function description as
is expected in kernel-doc. This prevents another kernel-doc warning.

Fixes: 1dea662b8d4e ("mailbox: Add support for ST's Mailbox IP")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Aditya Srivastava <yashsri421@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mailbox-sti.c