Received: by 10.192.165.148 with SMTP id m20csp572998imm; Fri, 27 Apr 2018 04:06:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrPJrfRXFVT4WqjcJUcsE7tKwSCCJlVOwHIQ/fh4bs7Xz5a/i1z+dX7ZHya4yDDA/F+s+v0 X-Received: by 10.98.12.21 with SMTP id u21mr1044526pfi.218.1524827210022; Fri, 27 Apr 2018 04:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524827209; cv=none; d=google.com; s=arc-20160816; b=a9ZNh5BybEmSjQv+Dn/j8OLMFk+V3M15lwWdWJWiVE9LnGdOZwDQtrn9vBFVH67wDx +VB4qC15hK/JT36j+el4eHWkF+X9nJmzV8D5iRgLnSonjuadmoOa5tjPZepp5afe0Dsg btUcvYN6jFSDeDF3d4bbl97ZztKkvrRO6V3OM4DDKraf4JypDPfXX0awNDdDEj1ILzth 0F7Nz1lRAetOdvxWhzA3Q7zSM/kHt8SdxgtQ9gtOxb8tjg8P2bnBxDJjARzcftqAO36i ZXRFCm7JlqdzqqW3AF63txK4kj4jvwL9U/AusOysOuxVFpYdhr1bVG3YIKEPSVrVpWfV hx6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=RSpLY8yoTC80x5P0cUkTd97jidGekkVJfo4qr3imwOk=; b=zPmbHFAd/UWoXpxPH82fsJXEnxpKa2VnsVI+UD/e7g9yePxkbWD/TAArWeUxIoavvm 12PnTYqtAfyGwCu/ByiCN+VbyZoeyJYTZITBQI7GbUb1ZCAJW122kvr3x1CmTapUrSYO K6V85Z4o98pDNvHh7iXU0aOui/byKj4pnLMJ7r+U/ArZmKMKvrLgCFs6n9bt1qZdw0Wr 2tdqXiIOGGVFsnM7EVotQLnX/NjCefR9UAifhABJnB48ofLcdofQJc0MUUPz/G0nfkWE +6NMcmtV4FYC6Xr4HLHW90++fe3VKEdXTEz/OFT4g8r07Mwkt99wa9F2HfgTsi1XiSFV 4PVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rxm3GdjK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p88si1078057pfk.134.2018.04.27.04.06.35; Fri, 27 Apr 2018 04:06:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rxm3GdjK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932767AbeD0LEW (ORCPT + 99 others); Fri, 27 Apr 2018 07:04:22 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35340 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932700AbeD0LEV (ORCPT ); Fri, 27 Apr 2018 07:04:21 -0400 Received: by mail-oi0-f66.google.com with SMTP id a6-v6so1217995oia.2; Fri, 27 Apr 2018 04:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RSpLY8yoTC80x5P0cUkTd97jidGekkVJfo4qr3imwOk=; b=rxm3GdjKE+8Lz56DFEfV4Bjb5pWKzYANZ3lHPAuxKgKlHgA2IxF+eBqeUPX7tEh+QA hIwuRrMU8IImffygrMDXLFG+T8uRwIMfwWubu81KhY7BhTu5lZlusJQAwjFc1hnNzMUV FobGkj8KKOZitUHjgMNqnvcWQ7ImdPCGPIcScFX6uOSna+sFpOT8PX3klHwBAia3+ewG 2DU6Cr+b45ZXpZMSuQ1W5Uw/feCJCUYluuuJSZUDZNh//JKUjzO9nIccT5Mwa6+SKkRU LGr4QGqKNq38YTf5p9+rAk0TzEBZOWVrd8drXjaS9zI976JSCSf35xAGMnS26vS+WOMi X+GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RSpLY8yoTC80x5P0cUkTd97jidGekkVJfo4qr3imwOk=; b=Cmxebfqn3U21fLQINRKq9iZsA6o9zPksbqpoXwwzo/CoP5IG7EzRY0YnVTF1lX+sGa EGdiGGgn/dHpjkVFI4+PRJ5yXwLwBCTokxD3Dh4x6UzDtu9CwZlX/77LCshyYHjkfRAx LzyS36qF2Ty2RLc6mrLmEb/3t9oNud0384FTNCK+EHhSrqdqxElwR0OlfuM0GAe3Vmc2 85G8YM89IMgbsirSigncP01z05tWRwT7/k/wsXFSjeTOzplKw442wDzlSHA8liuHWAWM XGMoUElsv9Lsl2m/uptmMxTCa+t6FPSrVRbGPpCr445InW1iMop6AB1sfWwPBA/FmonR 45eA== X-Gm-Message-State: ALQs6tDaIzB0J+ulCZSVgLsAExiSZgaa90JSaCuEYzLQKo23JDdJPFmj 3k2VnZCGSqK5uzC895cVHQL4G5XqDPxQnbUqNCM= X-Received: by 2002:aca:e1c1:: with SMTP id y184-v6mr924298oig.120.1524827060523; Fri, 27 Apr 2018 04:04:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:1468:0:0:0:0:0 with HTTP; Fri, 27 Apr 2018 04:04:20 -0700 (PDT) In-Reply-To: <20180424193505.6934-2-ahs3@redhat.com> References: <20180424193505.6934-1-ahs3@redhat.com> <20180424193505.6934-2-ahs3@redhat.com> From: "Rafael J. Wysocki" Date: Fri, 27 Apr 2018 13:04:20 +0200 X-Google-Sender-Auth: T3pM-8UwatAYTxMrP430yw0R27c Message-ID: Subject: Re: [PATCH v2 1/3] ACPI: improve function documentation for acpi_parse_entries_array() To: Al Stone Cc: ACPI Devel Maling List , Linux Kernel Mailing List , "Rafael J . Wysocki" , Len Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 9:35 PM, Al Stone wrote: > I found the description of the table_size argument to the function > acpi_parse_entries_array() unclear and ambiguous. This is a minor > documentation change to improve that description so I don't misuse > the argument again in the future, and it is hopefully clearer to > other future users. > > Signed-off-by: Al Stone > Cc: Rafael J. Wysocki > Cc: Len Brown > --- > drivers/acpi/tables.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c > index 849c4fb19b03..21535762b890 100644 > --- a/drivers/acpi/tables.c > +++ b/drivers/acpi/tables.c > @@ -222,7 +222,9 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header) > * acpi_parse_entries_array - for each proc_num find a suitable subtable > * > * @id: table id (for debugging purposes) > - * @table_size: single entry size > + * @table_size: size of the root table; i.e., the offset from the very > + * first byte of the complete ACPI table, to the first byte > + * of the first subtable But alas this needs to be one line. You can add more details in the comment body below. > * @table_header: where does the table start? > * @proc: array of acpi_subtable_proc struct containing entry id > * and associated handler with it > @@ -400,7 +402,7 @@ int __init acpi_table_parse(char *id, acpi_tbl_table_handler handler) > return -ENODEV; > } Thanks, Rafael