Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754168AbbFOI7D (ORCPT ); Mon, 15 Jun 2015 04:59:03 -0400 Received: from mail.skyhub.de ([78.46.96.112]:52334 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124AbbFOI66 (ORCPT ); Mon, 15 Jun 2015 04:58:58 -0400 Date: Mon, 15 Jun 2015 10:58:52 +0200 From: Borislav Petkov To: Denys Vlasenko Cc: Ingo Molnar , Pavel Machek , Linus Torvalds , Steven Rostedt , "H. Peter Anvin" , Andy Lutomirski , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] x86, acpi: Eliminate saved_eip Message-ID: <20150615085852.GE4255@pd.tnic> References: <1434288190-24993-1-git-send-email-dvlasenk@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1434288190-24993-1-git-send-email-dvlasenk@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1516 Lines: 45 On Sun, Jun 14, 2015 at 03:23:08PM +0200, Denys Vlasenko wrote: > It always contains the address of "ret_point" label This commit message is very laconic - I had to go look at the code just to see what you mean. I guess it should be something like: "Get rid of the global variable saved_eip as it is only written to and jump directly to ret_point instead. No functionality change." Other than that, patch looks ok. > Run-tested. > > Signed-off-by: Denys Vlasenko > CC: Pavel Machek > CC: Linus Torvalds > CC: Steven Rostedt > CC: Ingo Molnar > CC: Borislav Petkov > CC: "H. Peter Anvin" > CC: Andy Lutomirski > CC: Oleg Nesterov > CC: Frederic Weisbecker > CC: Alexei Starovoitov > CC: Will Drewry > CC: Kees Cook > CC: x86@kernel.org > CC: linux-kernel@vger.kernel.org > --- > arch/x86/kernel/acpi/wakeup_32.S | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- 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/