From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754355AbcKUMZ6 (ORCPT ); Mon, 21 Nov 2016 07:25:58 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:24779 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753632AbcKUMZ5 (ORCPT ); Mon, 21 Nov 2016 07:25:57 -0500 From: Marcin Nowakowski To: CC: Subject: [PATCH] elfcore.h: add trailing semi-colon in elf_core_copy_regs() Date: Mon, 21 Nov 2016 13:25:52 +0100 Message-ID: <1479731152-676-1-git-send-email-marcin.nowakowski@imgtec.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.2.5] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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