From patchwork Sat Feb 8 12:46:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 24344 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E540A20967 for ; Sat, 8 Feb 2014 12:47:13 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id f11sf9189654qae.11 for ; Sat, 08 Feb 2014 04:47:13 -0800 (PST) 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:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=d1uysQiU9T3ZA5tL/PmcxkdNRYSoNTtjHBkLArxzzgs=; b=crFCUGRsjAD7qtLfAThXQQwdbOYSRtRk/Oc6GlA0wlog8aHj6C9Q8SzSZXAYOuwl40 mugfCVGPNPnR+l2HvSsRLCe9xD5q1sG4raVmr9fUVQowxdJpnEcpXwOBkaJiSLXgn/Af SdWSLqkIYUcgCpf0Ra6d6Ja+8c2CsD+ujM4srLOSk4xrh3sk7UhuaVUp1NL1o6kW09+8 sD0sC/iV1hcT9yK7c3xuGyNvVpM5J+Y+3Tp020Q4nYKZuXBSPf6O+OP4mj2y/9u6YEAZ 6FreiJXRTT5QVp+4KkyUqCEEqG3Zhr4ZQ1fPV5ltt7LKT1dO6Z93S7NCIxVIFjuFVMNN MPQA== X-Gm-Message-State: ALoCoQlJ3rATNyliqrbHo8kH6LEqpuDjTearG9bPy2Sn98wDTRAmAj9ZEtWOsC5MIEV71KlExP5R X-Received: by 10.236.18.196 with SMTP id l44mr7279643yhl.52.1391863633051; Sat, 08 Feb 2014 04:47:13 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.209 with SMTP id f75ls1356192qgd.48.gmail; Sat, 08 Feb 2014 04:47:12 -0800 (PST) X-Received: by 10.58.181.71 with SMTP id du7mr843047vec.25.1391863632962; Sat, 08 Feb 2014 04:47:12 -0800 (PST) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id yx7si2455649vcb.125.2014.02.08.04.47.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Feb 2014 04:47:12 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id w8so3448602vbj.23 for ; Sat, 08 Feb 2014 04:47:12 -0800 (PST) X-Received: by 10.58.100.100 with SMTP id ex4mr14954769veb.2.1391863632791; Sat, 08 Feb 2014 04:47:12 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp31262vcz; Sat, 8 Feb 2014 04:47:12 -0800 (PST) X-Received: by 10.68.172.37 with SMTP id az5mr25825506pbc.139.1391863631348; Sat, 08 Feb 2014 04:47:11 -0800 (PST) Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by mx.google.com with ESMTPS id pk8si8500785pab.329.2014.02.08.04.47.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Feb 2014 04:47:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.44 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.160.44; Received: by mail-pb0-f44.google.com with SMTP id rq2so4390263pbb.3 for ; Sat, 08 Feb 2014 04:47:11 -0800 (PST) X-Received: by 10.68.230.137 with SMTP id sy9mr25810279pbc.126.1391863630977; Sat, 08 Feb 2014 04:47:10 -0800 (PST) Received: from localhost ([39.182.20.40]) by mx.google.com with ESMTPSA id ei4sm23233518pbb.42.2014.02.08.04.47.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 08 Feb 2014 04:47:10 -0800 (PST) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, patches@linaro.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 2/2] ACPI / trivial: Fix the return value type of acpi_processor_eval_pdc() Date: Sat, 8 Feb 2014 20:46:26 +0800 Message-Id: <1391863586-3157-2-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391863586-3157-1-git-send-email-hanjun.guo@linaro.org> References: <1391863586-3157-1-git-send-email-hanjun.guo@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The return value type of acpi_processor_eval_pdc() should be 'acpi_status' but defined as 'int', fix it. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 849cfd6..46583d7 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -323,7 +323,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void) * _PDC is required for a BIOS-OS handshake for most of the newer * ACPI processor features. */ -static int +static acpi_status acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) { acpi_status status = AE_OK;