* [PATCH 1/2] efi-pstore: fix kernel-doc argument name
@ 2015-10-31 15:23 Geliang Tang
2015-10-31 15:23 ` [PATCH 2/2] pstore: fix code comment to match code Geliang Tang
2015-11-03 20:05 ` [PATCH 1/2] efi-pstore: fix kernel-doc argument name Kees Cook
0 siblings, 2 replies; 4+ messages in thread
From: Geliang Tang @ 2015-10-31 15:23 UTC (permalink / raw)
To: Anton Vorontsov, Colin Cross, Kees Cook, Tony Luck, Matt Fleming
Cc: Geliang Tang, linux-efi, linux-kernel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] pstore: fix code comment to match code
2015-10-31 15:23 [PATCH 1/2] efi-pstore: fix kernel-doc argument name Geliang Tang
@ 2015-10-31 15:23 ` Geliang Tang
2015-11-03 20:05 ` Kees Cook
2015-11-03 20:05 ` [PATCH 1/2] efi-pstore: fix kernel-doc argument name Kees Cook
1 sibling, 1 reply; 4+ messages in thread
From: Geliang Tang @ 2015-10-31 15:23 UTC (permalink / raw)
To: Anton Vorontsov, Colin Cross, Kees Cook, Tony Luck
Cc: Geliang Tang, linux-kernel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] efi-pstore: fix kernel-doc argument name
2015-10-31 15:23 [PATCH 1/2] efi-pstore: fix kernel-doc argument name Geliang Tang
2015-10-31 15:23 ` [PATCH 2/2] pstore: fix code comment to match code Geliang Tang
@ 2015-11-03 20:05 ` Kees Cook
1 sibling, 0 replies; 4+ messages in thread
From: Kees Cook @ 2015-11-03 20:05 UTC (permalink / raw)
To: Geliang Tang
Cc: Anton Vorontsov, Colin Cross, Tony Luck, Matt Fleming, linux-efi, LKML
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] pstore: fix code comment to match code
2015-10-31 15:23 ` [PATCH 2/2] pstore: fix code comment to match code Geliang Tang
@ 2015-11-03 20:05 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2015-11-03 20:05 UTC (permalink / raw)
To: Geliang Tang; +Cc: Anton Vorontsov, Colin Cross, Tony Luck, LKML
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-03 20:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-31 15:23 [PATCH 1/2] efi-pstore: fix kernel-doc argument name Geliang Tang
2015-10-31 15:23 ` [PATCH 2/2] pstore: fix code comment to match code Geliang Tang
2015-11-03 20:05 ` Kees Cook
2015-11-03 20:05 ` [PATCH 1/2] efi-pstore: fix kernel-doc argument name Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).