mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yasuaki Ishimatsu <yasu.isimatu@gmail.com>
To: Michal Simek <michal.simek@xilinx.com>
Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu,
	Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] drivers/firmware/memmap.c: Fix kernel-doc format
Date: Mon, 15 Jun 2015 06:57:03 -0700 (PDT)	[thread overview]
Message-ID: <557ed9af.581b370a.be48.4f57@mx.google.com> (raw)
In-Reply-To: <29c133f411199ef33fb4d9f5accb0691a0d719fa.1434107198.git.michal.simek@xilinx.com>


On Fri, 12 Jun 2015 13:06:42 +0200
Michal Simek <michal.simek@xilinx.com> wrote:

> Fix kernel-doc format validation to be able to use kernel-doc
> script for checking it.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---

Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>

Thanks,
Yasuaki Ishimatsu

> 
>  drivers/firmware/memmap.c | 24 +++++++++++++-----------
>  1 file changed, 13 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c
> index cc016c615c19..5de3ed29282c 100644
> --- a/drivers/firmware/memmap.c
> +++ b/drivers/firmware/memmap.c
> @@ -144,7 +144,9 @@ static struct kobj_type __refdata memmap_ktype = {
>   *
>   * Common implementation of firmware_map_add() and firmware_map_add_early()
>   * which expects a pre-allocated struct firmware_map_entry.
> - **/
> + *
> + * Return: 0 always
> + */
>  static int firmware_map_add_entry(u64 start, u64 end,
>  				  const char *type,
>  				  struct firmware_map_entry *entry)
> @@ -170,7 +172,7 @@ static int firmware_map_add_entry(u64 start, u64 end,
>   * @entry: removed entry.
>   *
>   * The caller must hold map_entries_lock, and release it properly.
> - **/
> + */
>  static inline void firmware_map_remove_entry(struct firmware_map_entry *entry)
>  {
>  	list_del(&entry->list);
> @@ -208,7 +210,7 @@ static inline void remove_sysfs_fw_map_entry(struct firmware_map_entry *entry)
>  	kobject_put(&entry->kobj);
>  }
>  
> -/*
> +/**
>   * firmware_map_find_entry_in_list() - Search memmap entry in a given list.
>   * @start: Start of the memory range.
>   * @end:   End of the memory range (exclusive).
> @@ -236,7 +238,7 @@ firmware_map_find_entry_in_list(u64 start, u64 end, const char *type,
>  	return NULL;
>  }
>  
> -/*
> +/**
>   * firmware_map_find_entry() - Search memmap entry in map_entries.
>   * @start: Start of the memory range.
>   * @end:   End of the memory range (exclusive).
> @@ -254,7 +256,7 @@ firmware_map_find_entry(u64 start, u64 end, const char *type)
>  	return firmware_map_find_entry_in_list(start, end, type, &map_entries);
>  }
>  
> -/*
> +/**
>   * firmware_map_find_entry_bootmem() - Search memmap entry in map_entries_bootmem.
>   * @start: Start of the memory range.
>   * @end:   End of the memory range (exclusive).
> @@ -283,8 +285,8 @@ firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type)
>   * similar to function firmware_map_add_early(). The only difference is that
>   * it will create the syfs entry dynamically.
>   *
> - * Returns 0 on success, or -ENOMEM if no memory could be allocated.
> - **/
> + * Return: 0 on success, or -ENOMEM if no memory could be allocated.
> + */
>  int __meminit firmware_map_add_hotplug(u64 start, u64 end, const char *type)
>  {
>  	struct firmware_map_entry *entry;
> @@ -325,8 +327,8 @@ int __meminit firmware_map_add_hotplug(u64 start, u64 end, const char *type)
>   *
>   * That function must be called before late_initcall.
>   *
> - * Returns 0 on success, or -ENOMEM if no memory could be allocated.
> - **/
> + * Return: 0 on success, or -ENOMEM if no memory could be allocated.
> + */
>  int __init firmware_map_add_early(u64 start, u64 end, const char *type)
>  {
>  	struct firmware_map_entry *entry;
> @@ -346,8 +348,8 @@ int __init firmware_map_add_early(u64 start, u64 end, const char *type)
>   *
>   * removes a firmware mapping entry.
>   *
> - * Returns 0 on success, or -EINVAL if no entry.
> - **/
> + * Return: 0 on success, or -EINVAL if no entry.
> + */
>  int __meminit firmware_map_remove(u64 start, u64 end, const char *type)
>  {
>  	struct firmware_map_entry *entry;
> -- 
> 2.3.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2015-06-15 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 11:06 Michal Simek
2015-06-15 13:57 ` Yasuaki Ishimatsu [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=557ed9af.581b370a.be48.4f57@mx.google.com \
    --to=yasu.isimatu@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=isimatu.yasuaki@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    /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

all inboxes | Powered by JetHome®