Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 061DCC6FD19 for ; Thu, 16 Mar 2023 12:25:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbjCPMZ3 (ORCPT ); Thu, 16 Mar 2023 08:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjCPMZ1 (ORCPT ); Thu, 16 Mar 2023 08:25:27 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80BCCB1A45 for ; Thu, 16 Mar 2023 05:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678969476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UtEGr4Rvg0bEC4nbqE2r93Q3GexaD+ubvmKMlTN9TvQ=; b=erYy1GbIiw7MrJVe3r/sbAMtI/7hRYphJdiuHbYV2Y94O6Or+P/JD/yzXcVw/dul/hSV1l 2QuVQXisP1+C6ypt4DTGmL4VFGIlnefdZuuuwLYM7eNKdHmexRvq/zdiW0FitGn06W/axf wGd8FYmAKXX1jti/Xf415xoVX+9tOBc= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-325-DFURbssNOr2lfqr6wC_-aA-1; Thu, 16 Mar 2023 08:24:35 -0400 X-MC-Unique: DFURbssNOr2lfqr6wC_-aA-1 Received: by mail-ed1-f71.google.com with SMTP id h11-20020a0564020e8b00b004e59d4722a3so2801173eda.6 for ; Thu, 16 Mar 2023 05:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678969474; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UtEGr4Rvg0bEC4nbqE2r93Q3GexaD+ubvmKMlTN9TvQ=; b=qJ3IZAY4lOlXZXoO0+T15czU3mZfQvnWfeNDAw+HaOmAO6jqb0CSSrDlViI9RU3Dnh YpB3f4Oww2Y2rCi+BSpTV3iw9HqInI9Fb3dyCNApD5Bo/gLeRXymX9HdE8ctvO6oHCET hPICip+L5eBKleDZHjqhjXgsUviwTANfQt3BffAXb7q08O4dta2s8NI+GGBLovKm8WoS A1mSwR2AKdF3hDbX8R4ZgwDyEWap0OB7p8tPyJoYPY1VkzH8bezHGQzSBOsNsYGz3Bx6 A8ZzfFasSI8GvWgV7acPYted54b11hdIA1c6EI0NbVr1jlfv44A3Pmd/stHGRWAC23Aw T3eg== X-Gm-Message-State: AO0yUKXVkd62LEwlwZ/1lEdT525LsUH40x2nZgCr9C53lL3pzSVrlCrG b14xAug1ejYZRlZ23FOwiIZdXuku0zrBCpvmmhLJ+U3yk8bP+E1tlxiBxqnp2M9AWJbTkpheBHQ aarZNvB2Pj/Qg1S33uyklNK68 X-Received: by 2002:aa7:cc94:0:b0:4fd:21a6:a649 with SMTP id p20-20020aa7cc94000000b004fd21a6a649mr5834409edt.40.1678969474415; Thu, 16 Mar 2023 05:24:34 -0700 (PDT) X-Google-Smtp-Source: AK7set+WSRrCcr4bhPevwESZvKp7mYRo9xb3YCiMBm28uvFHEvtfafm5xMQQkMOSDAEjaTIY5YVHog== X-Received: by 2002:aa7:cc94:0:b0:4fd:21a6:a649 with SMTP id p20-20020aa7cc94000000b004fd21a6a649mr5834393edt.40.1678969474168; Thu, 16 Mar 2023 05:24:34 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id v1-20020a50c401000000b004acbda55f6bsm3776310edf.27.2023.03.16.05.24.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Mar 2023 05:24:33 -0700 (PDT) Message-ID: <33889d76-ec46-6154-106f-d3603960adc9@redhat.com> Date: Thu, 16 Mar 2023 13:24:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 1/1] apple-gmux: Update apple_gmux_detect documentation Content-Language: en-US, nl To: Orlando Chamberlain Cc: Mark Gross , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Rothwell References: <20230309104353.10905-1-orlandoch.dev@gmail.com> From: Hans de Goede In-Reply-To: <20230309104353.10905-1-orlandoch.dev@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 3/9/23 11:43, Orlando Chamberlain wrote: > Commit fc83fbc80e1a ("platform/x86: apple-gmux: refactor gmux types") > neglected to update the documentation of apple_gmux_detect's arguments. > Update the documentation to reflect that commit's changes. > > include/linux/apple-gmux.h:99: warning: > Function parameter or member 'type_ret' not described in 'apple_gmux_detect' > include/linux/apple-gmux.h:99: warning: > Excess function parameter 'indexed_ret' description in 'apple_gmux_detect' > > Reported-by: Stephen Rothwell > Link: https://lore.kernel.org/lkml/20230309122822.77435e33@canb.auug.org.au/ > Fixes: fc83fbc80e1a ("platform/x86: apple-gmux: refactor gmux types") > Signed-off-by: Orlando Chamberlain Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > include/linux/apple-gmux.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/apple-gmux.h b/include/linux/apple-gmux.h > index 272f63f8fd7c..a7a7d430024b 100644 > --- a/include/linux/apple-gmux.h > +++ b/include/linux/apple-gmux.h > @@ -86,7 +86,7 @@ static inline bool apple_gmux_is_mmio(unsigned long iostart) > * apple_gmux_detect() - detect if gmux is built into the machine > * > * @pnp_dev: Device to probe or NULL to use the first matching device > - * @indexed_ret: Returns (by reference) if the gmux is indexed or not > + * @type_ret: Returns (by reference) the apple_gmux_type of the device > * > * Detect if a supported gmux device is present by actually probing it. > * This avoids the false positives returned on some models by