Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260011 > unrolled thread

[PATCH 1/2] efi-pstore: fix kernel-doc argument name

Started byGeliang Tang <geliangtang@163.com>
First post2015-10-31 16:30 +0100
Last post2015-11-03 21:10 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] efi-pstore: fix kernel-doc argument name Geliang Tang <geliangtang@163.com> - 2015-10-31 16:30 +0100
    [PATCH 2/2] pstore: fix code comment to match code Geliang Tang <geliangtang@163.com> - 2015-10-31 16:30 +0100
      Re: [PATCH 2/2] pstore: fix code comment to match code Kees Cook <keescook@chromium.org> - 2015-11-03 21:10 +0100
    Re: [PATCH 1/2] efi-pstore: fix kernel-doc argument name Kees Cook <keescook@chromium.org> - 2015-11-03 21:10 +0100

#1260011 — [PATCH 1/2] efi-pstore: fix kernel-doc argument name

FromGeliang Tang <geliangtang@163.com>
Date2015-10-31 16:30 +0100
Subject[PATCH 1/2] efi-pstore: fix kernel-doc argument name
Message-ID<qpGgq-4vl-23@gated-at.bofh.it>
The first argument name in the kernel-doc argument list for
efi_pstore_scan_sysfs_enter() was slightly off. Fix it for the
kernel doc.

Signed-off-by: Geliang Tang <geliangtang@163.com>
---
 drivers/firmware/efi/efi-pstore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c
index c8d794c..eac76a7 100644
--- a/drivers/firmware/efi/efi-pstore.c
+++ b/drivers/firmware/efi/efi-pstore.c
@@ -103,7 +103,7 @@ static int efi_pstore_read_func(struct efivar_entry *entry, void *data)
 
 /**
  * efi_pstore_scan_sysfs_enter
- * @entry: scanning entry
+ * @pos: scanning entry
  * @next: next entry
  * @head: list head
  */
-- 
2.4.3


--
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/

[toc] | [next] | [standalone]


#1260013 — [PATCH 2/2] pstore: fix code comment to match code

FromGeliang Tang <geliangtang@163.com>
Date2015-10-31 16:30 +0100
Subject[PATCH 2/2] pstore: fix code comment to match code
Message-ID<qpGgq-4vl-31@gated-at.bofh.it>
In reply to#1260011
Fix code comment about kmsg_dump register so it matches the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
---
 fs/pstore/platform.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index 0aab920..588461b 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -361,6 +361,9 @@ static struct kmsg_dumper pstore_dumper = {
 	.dump = pstore_dump,
 };
 
+/*
+ * Register with kmsg_dump to save last part of console log on panic.
+ */
 static void pstore_register_kmsg(void)
 {
 	kmsg_dump_register(&pstore_dumper);
@@ -434,8 +437,6 @@ static int pstore_write_compat(enum pstore_type_id type,
  * read function right away to populate the file system. If not
  * then the pstore mount code will call us later to fill out
  * the file system.
- *
- * Register with kmsg_dump to save last part of console log on panic.
  */
 int pstore_register(struct pstore_info *psi)
 {
-- 
2.4.3


--
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/

[toc] | [prev] | [next] | [standalone]


#1261839 — Re: [PATCH 2/2] pstore: fix code comment to match code

FromKees Cook <keescook@chromium.org>
Date2015-11-03 21:10 +0100
SubjectRe: [PATCH 2/2] pstore: fix code comment to match code
Message-ID<qqQ42-7sq-7@gated-at.bofh.it>
In reply to#1260013
On Sat, Oct 31, 2015 at 8:23 AM, Geliang Tang <geliangtang@163.com> wrote:
> Fix code comment about kmsg_dump register so it matches the code.
>
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Acked-by: Kees Cook <keescook@chromium.org>

-Kees

> ---
>  fs/pstore/platform.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
> index 0aab920..588461b 100644
> --- a/fs/pstore/platform.c
> +++ b/fs/pstore/platform.c
> @@ -361,6 +361,9 @@ static struct kmsg_dumper pstore_dumper = {
>         .dump = pstore_dump,
>  };
>
> +/*
> + * Register with kmsg_dump to save last part of console log on panic.
> + */
>  static void pstore_register_kmsg(void)
>  {
>         kmsg_dump_register(&pstore_dumper);
> @@ -434,8 +437,6 @@ static int pstore_write_compat(enum pstore_type_id type,
>   * read function right away to populate the file system. If not
>   * then the pstore mount code will call us later to fill out
>   * the file system.
> - *
> - * Register with kmsg_dump to save last part of console log on panic.
>   */
>  int pstore_register(struct pstore_info *psi)
>  {
> --
> 2.4.3
>
>



-- 
Kees Cook
Chrome OS Security
--
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/

[toc] | [prev] | [next] | [standalone]


#1261838

FromKees Cook <keescook@chromium.org>
Date2015-11-03 21:10 +0100
Message-ID<qqQ42-7sq-3@gated-at.bofh.it>
In reply to#1260011
On Sat, Oct 31, 2015 at 8:23 AM, Geliang Tang <geliangtang@163.com> wrote:
> The first argument name in the kernel-doc argument list for
> efi_pstore_scan_sysfs_enter() was slightly off. Fix it for the
> kernel doc.
>
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Acked-by: Kees Cook <keescook@chromium.org>

Thanks!

-Kees

> ---
>  drivers/firmware/efi/efi-pstore.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c
> index c8d794c..eac76a7 100644
> --- a/drivers/firmware/efi/efi-pstore.c
> +++ b/drivers/firmware/efi/efi-pstore.c
> @@ -103,7 +103,7 @@ static int efi_pstore_read_func(struct efivar_entry *entry, void *data)
>
>  /**
>   * efi_pstore_scan_sysfs_enter
> - * @entry: scanning entry
> + * @pos: scanning entry
>   * @next: next entry
>   * @head: list head
>   */
> --
> 2.4.3
>
>



-- 
Kees Cook
Chrome OS Security
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web