Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1559659imu; Wed, 28 Nov 2018 11:18:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/W5GdQf74wX6A3271n8jr+/y2krgmt3PGUw/BWl8ey5tnhdV2MpRvsdd6xcEzjq0iNz0X7x X-Received: by 2002:a63:9306:: with SMTP id b6mr32932714pge.36.1543432702269; Wed, 28 Nov 2018 11:18:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543432702; cv=none; d=google.com; s=arc-20160816; b=Xejm5adKhVNsLCinrrgSiHwbURTxKpxgr99VIJQcpi/xi/t2wiVtI7pczyG7FDfsaz l4j05EizrsnrkwHoDLQZh9aeKJVLhkbcxdj0EI2RIqW3QgQ/6edyAsT5mjERro/xDZzo q5DApyOIdEUS2iVjM7apm+bV0uPMiz2Y6sq5LHjMAGBQQj7KT7os1iooaGeIIdWRne9f WE1EJZOldpZTlo/patPKuBW3dLvQxSsuUiNVichRholaHQoBHTC5SvxFlu1HNyTH1wx+ QHwyDryevq2tqLwsZkiuCZwHBKg1gTDUYbPMI0s2wgxLKsW8BxIdOiF2KRrdTp6feT4N zR7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=4o+KWcQ3nJEs04qrgRTdocZd2byoDlTwGgCGXDu+fUw=; b=zQStfLlXVyZ+lHowMIdEHtupGVKfOG05FJdAVNrSOgGNSZ8IyZPadcyEbp29KlGknG oforVuS/rZ48asGXc5D9U3gS6dO63WbCQV9FUPRLfkiR2Jd8vxPtCipyPc8RzlStrFSF RMAtqcO+2zS2r+QNGGEgQBoAa7dVM5vG9LxmVngDk+4ZeGUOVuSdwnXFas6PMAwo8uTi aTllY4XaG0heZUNqlRDs8q4GdTNPPpTe/tfGtRpDOHHnFMnxoyl6qGUFgLtxpJ+66Pml Sb7BpVF0XsedM0QVRTmOpFG2u4DbZfcdNcXngTx963lfa1jXfig8RluJ+GQV2K8mHDr4 N0dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g21si8076602plo.435.2018.11.28.11.17.43; Wed, 28 Nov 2018 11:18:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726931AbeK2GSy (ORCPT + 99 others); Thu, 29 Nov 2018 01:18:54 -0500 Received: from terminus.zytor.com ([198.137.202.136]:50727 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbeK2GSx (ORCPT ); Thu, 29 Nov 2018 01:18:53 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id wASJFvP02433464 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 28 Nov 2018 11:15:57 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id wASJFsde2433461; Wed, 28 Nov 2018 11:15:54 -0800 Date: Wed, 28 Nov 2018 11:15:54 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mattias Jacobsson Message-ID: Cc: bp@suse.de, mingo@kernel.org, 2pi@mok.nu, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com Reply-To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, 2pi@mok.nu, linux-kernel@vger.kernel.org, bp@suse.de, mingo@kernel.org In-Reply-To: <20181128161607.10973-1-2pi@mok.nu> References: <20181128161607.10973-1-2pi@mok.nu> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/boot] x86/boot: Add missing va_end() to die() Git-Commit-ID: 69be4efeb959147ff86f22e35aea9526f9b86715 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_24_48 autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 69be4efeb959147ff86f22e35aea9526f9b86715 Gitweb: https://git.kernel.org/tip/69be4efeb959147ff86f22e35aea9526f9b86715 Author: Mattias Jacobsson <2pi@mok.nu> AuthorDate: Wed, 28 Nov 2018 17:16:07 +0100 Committer: Borislav Petkov CommitDate: Wed, 28 Nov 2018 20:06:07 +0100 x86/boot: Add missing va_end() to die() Each call to va_start() must have a corresponding call to va_end() before the end of the function. Add the missing va_end(). Found with Coccinelle. Signed-off-by: Mattias Jacobsson <2pi@mok.nu> Signed-off-by: Borislav Petkov Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: Thomas Gleixner Link: https://lkml.kernel.org/r/20181128161607.10973-1-2pi@mok.nu --- arch/x86/boot/tools/build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c index bf0e82400358..a93d44e58f9c 100644 --- a/arch/x86/boot/tools/build.c +++ b/arch/x86/boot/tools/build.c @@ -132,6 +132,7 @@ static void die(const char * str, ...) va_list args; va_start(args, str); vfprintf(stderr, str, args); + va_end(args); fputc('\n', stderr); exit(1); }