mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
To: <linux-kernel@vger.kernel.org>
Cc: <linux-mips@linux-mips.org>
Subject: [PATCH] elfcore.h: add trailing semi-colon in elf_core_copy_regs()
Date: Mon, 21 Nov 2016 13:25:52 +0100	[thread overview]
Message-ID: <1479731152-676-1-git-send-email-marcin.nowakowski@imgtec.com> (raw)

Invocation of ELF_CORE_COPY_REGS macro is missing a trailing semi-colon
thus requiring all macro implementations to include one, which is
contrary to the typical kernel coding style and checkpatch.pl
complains about such macro definitions.
This makes it also consistent with all other ELF_CORE_* macro
invocations throughout this file.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
---
 include/linux/elfcore.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h
index 698d51a..be55557 100644
--- a/include/linux/elfcore.h
+++ b/include/linux/elfcore.h
@@ -11,7 +11,7 @@ struct coredump_params;
 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs)
 {
 #ifdef ELF_CORE_COPY_REGS
-	ELF_CORE_COPY_REGS((*elfregs), regs)
+	ELF_CORE_COPY_REGS((*elfregs), regs);
 #else
 	BUG_ON(sizeof(*elfregs) != sizeof(*regs));
 	*(struct pt_regs *)elfregs = *regs;
-- 
2.7.4

                 reply	other threads:[~2016-11-21 12:25 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=1479731152-676-1-git-send-email-marcin.nowakowski@imgtec.com \
    --to=marcin.nowakowski@imgtec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    /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®