From patchwork Tue Jul 8 15:02:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 33230 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 41CDE20969 for ; Tue, 8 Jul 2014 15:03:02 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id eu11sf42572643pac.6 for ; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=zF7bB8OD9zDB13dTa8NJEDpA52le897/ihYdw8VwppE=; b=La6u9ZgEi3m8nNV6PkNExmao48pEWH+RcsZSWS1VGBUz7bcRzCReqGiqVARfC8rQUE YuKPDkrbmC224iqmg34tloiQ67rQSXm6qYRmBHy+an99kLMAsZlXdUP+bzT6atfbusSr LzJQsKkaJTbRTFssi2seenR6y+A4LLepOCLWinQwTtnDl+HblIAyuMvEjGEPk8frDQDE ZN+3f1wJMcxF5giOEYF7ZWw4/mfbZM4dI6p2coervm/uW9ukticm1eoNfGHyyIFLoLJV /t3ZyNV7RP4k12IZ+R5ayVYFnWCbimdazpiLUhzrYxAWYCwyYzfmy9s0BGWWGXRULAlg uOPg== X-Gm-Message-State: ALoCoQn1RmY5k8XUUg9AuePvm+6yUkXS5oz63TcVckJfYsadh4IoN2t3D7X3ybHZuIlwBd+cVXs+ X-Received: by 10.66.161.234 with SMTP id xv10mr18468514pab.20.1404831781570; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.110 with SMTP id a101ls2408785qge.99.gmail; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr1754901vdd.41.1404831781447; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id se2si20262568vec.35.2014.07.08.08.03.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 08:03:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so5519304vcb.21 for ; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) X-Received: by 10.52.244.81 with SMTP id xe17mr28668500vdc.24.1404831781356; Tue, 08 Jul 2014 08:03:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp777850vcb; Tue, 8 Jul 2014 08:03:01 -0700 (PDT) X-Received: by 10.140.21.9 with SMTP id 9mr55566383qgk.39.1404831780975; Tue, 08 Jul 2014 08:03:00 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id x4si39991799qal.48.2014.07.08.08.03.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Jul 2014 08:03:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Received: from localhost ([::1]:56075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wv6-00043a-OB for patch@linaro.org; Tue, 08 Jul 2014 11:03:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wua-0003cx-8V for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:02:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4WuZ-0006Ua-9N for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:02:28 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4WuZ-0006US-3X for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:02:27 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1X4WuY-0003LG-KC; Tue, 08 Jul 2014 16:02:26 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 8 Jul 2014 16:02:26 +0100 Message-Id: <1404831746-12821-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Alexey Kardashevskiy , Alexander Graf Subject: [Qemu-devel] [PATCH] hw/ppc/spapr_hcall.c: Fix typo in function names 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Fix a typo in the names of a couple of functions (s/resouce/resource/). Signed-off-by: Peter Maydell --- Only a typo; I leave it up to you whether you want to put this in 2.1 or not, Alex, but anyway it doesn't need to go in rc1. hw/ppc/spapr_hcall.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 467858c..8651447 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -712,10 +712,10 @@ static target_ulong h_logical_dcbf(PowerPCCPU *cpu, sPAPREnvironment *spapr, return H_SUCCESS; } -static target_ulong h_set_mode_resouce_le(PowerPCCPU *cpu, - target_ulong mflags, - target_ulong value1, - target_ulong value2) +static target_ulong h_set_mode_resource_le(PowerPCCPU *cpu, + target_ulong mflags, + target_ulong value1, + target_ulong value2) { CPUState *cs; @@ -743,10 +743,10 @@ static target_ulong h_set_mode_resouce_le(PowerPCCPU *cpu, return H_UNSUPPORTED_FLAG; } -static target_ulong h_set_mode_resouce_addr_trans_mode(PowerPCCPU *cpu, - target_ulong mflags, - target_ulong value1, - target_ulong value2) +static target_ulong h_set_mode_resource_addr_trans_mode(PowerPCCPU *cpu, + target_ulong mflags, + target_ulong value1, + target_ulong value2) { CPUState *cs; PowerPCCPUClass *pcc = POWERPC_CPU_GET_CLASS(cpu); @@ -794,11 +794,11 @@ static target_ulong h_set_mode(PowerPCCPU *cpu, sPAPREnvironment *spapr, switch (resource) { case H_SET_MODE_RESOURCE_LE: - ret = h_set_mode_resouce_le(cpu, args[0], args[2], args[3]); + ret = h_set_mode_resource_le(cpu, args[0], args[2], args[3]); break; case H_SET_MODE_RESOURCE_ADDR_TRANS_MODE: - ret = h_set_mode_resouce_addr_trans_mode(cpu, args[0], - args[2], args[3]); + ret = h_set_mode_resource_addr_trans_mode(cpu, args[0], + args[2], args[3]); break; }