Message ID | 20230309104353.10905-1-orlandoch.dev@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp230051wrd; Thu, 9 Mar 2023 03:17:46 -0800 (PST) X-Google-Smtp-Source: AK7set9ue60jd46Kkur2zHdr3Yot3ezQaSE7kAmZdOlfn2U1CP+jse5EzJ4ihtWdWAnmOqzs77dP X-Received: by 2002:a17:903:24f:b0:19c:c8c8:b545 with SMTP id j15-20020a170903024f00b0019cc8c8b545mr22967223plh.50.1678360665935; Thu, 09 Mar 2023 03:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678360665; cv=none; d=google.com; s=arc-20160816; b=l/YZXjAZ3IrneOjnp2RpDYUrsyjyywYV0YiV2LFpyidAbZyLr7Lw4ibVMtS80SOzjL k3R8wHEYnJANE3/HBbd8PazA8o6BTmo9B0DFrABFSsL4PzEH8tc5TYJq8L7Bwy+Q9myH gJ+F6Zxn3VVFALrFU2PR8WRjb+SvnsA6O82WUJagJ5KHkpW3u5otPpQ5jhkBQMvAfvHC QKkRdx+AHtiHFdRPPFpO52RL/UqfEre1aau2XfzEalpegCkuoO7pDEXdc//hAJFdl+/u PVf5Sa1TbuHHpi0IZdFg71HCyHfAXn4WihDNa/udDuGZvSSMRpc8Qrn10AGcQ1k8mor+ 4xOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OW6/6lfgOl+/I/V8WVarC0MKHx8gy98nLE1im9EecrI=; b=0SqNDwG0hnmdK08Yz6n2zrBl7D55LIB2sEImaBrdX8ZW4SdKtkCFnAnPfXmhljZ5w5 aWyZs+8HhiIuplrk6TGFcnpCH69LYmckZv5z1G6nPkupM/ZVXBHr+Wn9l7q5IxQRu64K 3NlNAUhfns40CuznnCiRGj1QA3LdBt6sqQBpsuqPeBLZEtBVTiOjDgWrA9b/ct99hdTh a6BDzg1+Kl+B6ZeWM/JQS7yPzwMzU7QCWYDmyF8cxdtUyyWj59YSuyzBE9RZTAT30H9u mTaQ7SwynWE2qJ2Z5AbO3u97NmmFFcUcQaaQI/jnGff8izjGlmfaO/NAEPZ+U1Zgikyl 3X7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="n4g/LLpW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw6-20020a170903278600b0019ab3eb21fesi16540858plb.72.2023.03.09.03.17.31; Thu, 09 Mar 2023 03:17:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="n4g/LLpW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjCIKqE (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 05:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbjCIKpj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 05:45:39 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A184CB855A; Thu, 9 Mar 2023 02:45:38 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id x11so1488511pln.12; Thu, 09 Mar 2023 02:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678358738; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OW6/6lfgOl+/I/V8WVarC0MKHx8gy98nLE1im9EecrI=; b=n4g/LLpWMmjOGaqXqJLiKPmyUceGYJcijlFBs6UUum3TZ880fU89PGkkQO15hhiKK8 hvUWq6JVJ0+X2VXifW8jU7xOrZo55HkmyuoEd3KNUdIh3jUo4B1bxCM+VWwaj51HlfvQ JdHZ1At7NphCXnHxiMMQ8JU5YNhISI7ejAvLGQsmesbdXjFV/MiCgXScNVbVk3Fv2TzP 0DT8omUQ5yuSy/8hqKICp2dvdDVKtbhebw4gesnhFcTZ3SIOyHQfKkaHx+lVc8sAg7GC /6EX/SlIhokq2LWF8+j+BQ2dqRqEJZ9EjKIm4XUMKF8T+pZ4bbobZn9TBf9ZteeJxf2w EGZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358738; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OW6/6lfgOl+/I/V8WVarC0MKHx8gy98nLE1im9EecrI=; b=jp1TV142Mp1dDKrCepONfWnDIkkRsMBGeijpECpznJ15J32LJj6Alm2MXRQneHaRMo g8od0Wbsy2+JUqxadyxf8qnlY/y+V9qWoGzhhMiJhoFehzg9ZHgmbwuq9rPgv7Wr5FXf d/NNwKBAngeg3RsCaLMg3nFYwfZ93cAnmpPNbF72y2Aa3lIsizzvOtPLuq0GUF7iqOAW skMRfeGF1CWRkr0sf+Y/E7fZZGicr0kMaX4eSmBpeiTmeLYGFBy/S0wksb1JGTOUlq2B ttjGToINphbDpZX1kYFDsEGfxU6wJgzWxzT2WrSgosfrrn+36N5BOTuZdSOrKgSR3h7R ulRA== X-Gm-Message-State: AO0yUKVcUL502KbEppCX2SubODk+ciytyXHW8OrIbr8677OREa249GN0 VVFBhwl5wxrrKa+nMJ1FllA= X-Received: by 2002:a05:6a20:9390:b0:cc:a62f:1a9d with SMTP id x16-20020a056a20939000b000cca62f1a9dmr24966707pzh.23.1678358738150; Thu, 09 Mar 2023 02:45:38 -0800 (PST) Received: from localhost.localdomain (124-148-239-17.tpgi.com.au. [124.148.239.17]) by smtp.gmail.com with ESMTPSA id y24-20020a62b518000000b005a7c892b435sm10949574pfe.25.2023.03.09.02.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:45:37 -0800 (PST) From: Orlando Chamberlain <orlandoch.dev@gmail.com> To: Hans de Goede <hdegoede@redhat.com> Cc: Mark Gross <markgross@kernel.org>, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Orlando Chamberlain <orlandoch.dev@gmail.com>, Stephen Rothwell <sfr@canb.auug.org.au> Subject: [PATCH 1/1] apple-gmux: Update apple_gmux_detect documentation Date: Thu, 9 Mar 2023 21:43:54 +1100 Message-Id: <20230309104353.10905-1-orlandoch.dev@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759888713384555226?= X-GMAIL-MSGID: =?utf-8?q?1759888713384555226?= |
Series |
[1/1] apple-gmux: Update apple_gmux_detect documentation
|
|
Commit Message
Orlando Chamberlain
March 9, 2023, 10:43 a.m. UTC
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 <sfr@canb.auug.org.au>
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 <orlandoch.dev@gmail.com>
---
include/linux/apple-gmux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
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 <sfr@canb.auug.org.au> > 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 <orlandoch.dev@gmail.com> 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
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