From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751621AbaJRPTf (ORCPT ); Sat, 18 Oct 2014 11:19:35 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:65275 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751054AbaJRPTd (ORCPT ); Sat, 18 Oct 2014 11:19:33 -0400 Message-ID: <54428500.6020304@nod.at> Date: Sat, 18 Oct 2014 17:19:28 +0200 From: Richard Weinberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Manfred Schlaegl , Jeff Dike CC: Daniel Walter , Randy Dunlap , user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] um: Remove unused bp stack-frame pointer References: <544277C5.9030302@gmx.at> <54427C48.9050608@nod.at> <54428348.2050209@gmx.at> In-Reply-To: <54428348.2050209@gmx.at> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 18.10.2014 um 17:12 schrieb Manfred Schlaegl: > On 2014-10-18 16:42, Richard Weinberger wrote: >> Am 18.10.2014 um 16:23 schrieb Manfred Schlaegl: >>> The pointer to bp stack-frame is no longer used. Removed it. >> >> Good catch! > Thank you. > >> >>> This also removes a corresponding compiler-warning. >> >> Which warning exactly? > > On "normal" (defconfig) builds the warning does not show up because CONFIG_FRAME_POINTER is set. > I've found the unused bp because CONFIG_FRAME_POINTER was not set in my configuration. > > CC arch/um/kernel/sysrq.o > arch/um/kernel/sysrq.c: In function ‘show_stack’: > arch/um/kernel/sysrq.c:32:29: warning: unused variable ‘bp’ [-Wunused-variable] Looks like my gcc need's an upgrade. :D Thanks, //richard