From patchwork Thu May 28 05:36:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 478098 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YxqV6-00011K-OK for mharc-qemu-devel@gnu.org; Thu, 28 May 2015 01:37:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxqV4-0000xg-HF for qemu-devel@nongnu.org; Thu, 28 May 2015 01:37:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxqV3-0006dE-O6 for qemu-devel@nongnu.org; Thu, 28 May 2015 01:37:02 -0400 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:34560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxqV3-0006d0-Ei for qemu-devel@nongnu.org; Thu, 28 May 2015 01:37:01 -0400 Received: by pdbki1 with SMTP id ki1so33787169pdb.1 for ; Wed, 27 May 2015 22:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=SCM17VggMibkeFEYQICR8CXl9yWP+iJfwv53r2EStbs=; b=wytlgP6qDUp5uQ2g8uRz79ROvoVmJYk2/McQZHTjOtKwudC+Ms8Nf3ATYSafWSGgAG Sv79S9O/oFC+mFlN61SzlLwcdizxqjf+atGjVk1CnVjNwbZz4mjuvQezFMmivhhwVO++ gbnbPiblqaB0aXB1r24yiqrkQnBYy0CGVLjwnIjr+cbKnqn1EcvDVCbSteinfnFc/OLJ J7HYg3OoaFVpbdWtQR4RxIvkGzsDIFItr/0mzUkc5QjTXwkTsHfBg1EoqRCO5qqRKq3b 2deGK8US1UI9x9HZ8Aiz77c08einjgJGKG6SZGBSJnBvP8uZkxlAEL3SR0b06GdsmWFV 2NCQ== X-Received: by 10.68.69.103 with SMTP id d7mr2205679pbu.96.1432791420790; Wed, 27 May 2015 22:37:00 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id q4sm951980pdo.42.2015.05.27.22.36.59 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 27 May 2015 22:37:00 -0700 (PDT) Sender: Alistair Francis From: Alistair Francis To: qemu-devel@nongnu.org, edgar.iglesias@xilinx.com Date: Thu, 28 May 2015 15:36:25 +1000 Message-Id: <80d478629df9a635771d46f2b4f85cb94c186b26.1432790821.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::232 Cc: peter.crosthwaite@xilinx.com, rth@twiddle.net, afaerber@suse.de, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH v2 1/5] target-microblaze: Fix up indentation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 05:37:03 -0000 Fix up the incorrect indentation level in the helper_stackprot() function. Signed-off-by: Alistair Francis Reviewed-by: Peter Crosthwaite Reviewed-by: Edgar E. Iglesias --- target-microblaze/op_helper.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index a4c8f04..d2b3624 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -468,11 +468,11 @@ void helper_memalign(CPUMBState *env, uint32_t addr, uint32_t dr, uint32_t wr, void helper_stackprot(CPUMBState *env, uint32_t addr) { if (addr < env->slr || addr > env->shr) { - qemu_log("Stack protector violation at %x %x %x\n", - addr, env->slr, env->shr); - env->sregs[SR_EAR] = addr; - env->sregs[SR_ESR] = ESR_EC_STACKPROT; - helper_raise_exception(env, EXCP_HW_EXCP); + qemu_log("Stack protector violation at %x %x %x\n", + addr, env->slr, env->shr); + env->sregs[SR_EAR] = addr; + env->sregs[SR_ESR] = ESR_EC_STACKPROT; + helper_raise_exception(env, EXCP_HW_EXCP); } }