From patchwork Sat Nov 10 11:03:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Wu X-Patchwork-Id: 1723471 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7F62E3FC8A for ; Sat, 10 Nov 2012 11:03:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750852Ab2KJLDe (ORCPT ); Sat, 10 Nov 2012 06:03:34 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:42085 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762Ab2KJLDd (ORCPT ); Sat, 10 Nov 2012 06:03:33 -0500 Received: by mail-wi0-f178.google.com with SMTP id hr7so1188897wib.1 for ; Sat, 10 Nov 2012 03:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=/9NH4iNDX3kAVaArO0XbU/exXXmwHZTV746CdXBtKE4=; b=sWSqKMxgC+PBOzSXRdsXaAuHroQI6VXpD+l70XEh2viC0sN+AfToGQNY2W357CMRCd t/i5jAEv25vWpsXZlNnYbShJSPMOLbjvqWuxF1irF4uToymdpk4nEWJ/sCKaJsPiNiPT RhcVdFlKIeaTAKxnKHM4UZJyefik2bHgWIT/doiwjgFcKLc+7C6ZMmzknQ9GhG5EFbQ2 4As6SQpk8hpU/sTksIi7R/Y/uA0MQc0/fpV6viPQl1DJ4DCE01w8MKX/boIrqhaMQCir 3z2VTz3zGICWhpKACGPwF3tvrLp9/VemJmE7jp4bjskSU1BqcB52NUZi7429MJ21gGqU cceA== Received: by 10.180.84.101 with SMTP id x5mr3780534wiy.18.1352545411971; Sat, 10 Nov 2012 03:03:31 -0800 (PST) Received: from al.localnet (svr.lekensteyn.nl. [178.21.112.251]) by mx.google.com with ESMTPS id eu8sm298276wib.1.2012.11.10.03.03.30 (version=SSLv3 cipher=OTHER); Sat, 10 Nov 2012 03:03:31 -0800 (PST) From: Lekensteyn To: linux-acpi@vger.kernel.org Subject: [PATCH] ACPICA: Fix documentation of acpi_get_name Date: Sat, 10 Nov 2012 12:03:25 +0100 Message-ID: <2420385.2vUNKyqQx0@al> User-Agent: KMail/4.9.3 (Linux/3.7.0-1-custom; KDE/4.9.3; x86_64; ; ) MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org acpi_get_name has always returned acpi_status since 2009 and passed the string containing the path to parameter "buffer". Signed-off-by: Peter Wu --- drivers/acpi/acpica/nsxfname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c index 08e9610..c27c12d 100644 --- a/drivers/acpi/acpica/nsxfname.c +++ b/drivers/acpi/acpica/nsxfname.c @@ -146,7 +146,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_handle) * name_type - Full pathname or single segment * buffer - Buffer for returned path * - * RETURN: Pointer to a string containing the fully qualified Name. + * RETURN: Status * * DESCRIPTION: This routine returns the fully qualified name associated with * the Handle parameter. This and the acpi_pathname_to_handle are