Message ID | 20230809095633.34025-1-tony@atomide.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2693887vqr; Wed, 9 Aug 2023 03:18:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnGwGbQHlFVndRY5YcHCjc1P9ACOILBirqi0EqY3MYr/L/3OVqMhLTwabyo3/LyKyS1Nz+ X-Received: by 2002:a19:504b:0:b0:4f8:770f:1b01 with SMTP id z11-20020a19504b000000b004f8770f1b01mr1343953lfj.19.1691576311051; Wed, 09 Aug 2023 03:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691576311; cv=none; d=google.com; s=arc-20160816; b=StCgZqQAtMv5q7NFb46qwHn8ZY2/kGt5yWboQX02WYB13wp3zTFXBRLLAAum6uDsjP zQcU12l6gDTCXw4y1Mdc34TK//R3UMPhtrElAnB7p3rr2iz5sUMW9sIci5HWeEnSNgXV 7LbT5LZTRB0t6s5ZQ+W2VVrBAQoR857PHcvmbYO9sA43ubngaYl5q+gC18rKHw90vyq1 tRfJEeKGtiodG0fK/3+he3PuY07kTsivEgrkeUucbYiyLsmcGhi6Uqqk34fo1nnuxN06 GBSYfe9AI/gyxlZm5OYlwOxqxhtLzrZCdkS0UWJU7CZELPXT2tYBfGADM1r1wnq/w+lX ZGyw== 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; bh=samAFPFVSCemUE0bdDnh+qcd+Kmwh/AFPIxO2vHuzKE=; fh=tVVCXXEHv2mcu+raTaXekCfmoMXmUbzffS7Y7l56SS8=; b=l2LzWJpXvLlNTgi2DtsFy/TSOikHxpazTuLxHC1qtLZYt1PnmvZpsIEvRRJjm7iQ0b BJ1pofsD9EcWsU0WPm31e80oVphCH6WsUvGcSeO0OQvVglvn0O4MbPjf5EY0mOK356H7 D3XVATZdDSKQlp6ulFm9jh3Rn74XEqGthwg15uz1cGssDN3CI76ElFDzOPnEjcH2sYOd +kD/msRpubYMWBjqiwjXeOD6XX0k3+MlJvjZLn0zvZIiAxhq2l4hmR/SHbO+xUdl1M9I 3thsu2Kj0aY8l/FUr6+zhRnsj3wL24UFeCNDn3sdsEYevPwSMBqZlF15C86/efWwlX6O 2h7A== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a056402039500b0052337ff0416si4409187edv.557.2023.08.09.03.18.07; Wed, 09 Aug 2023 03:18:31 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232128AbjHIJ4j (ORCPT <rfc822;aaronkmseo@gmail.com> + 99 others); Wed, 9 Aug 2023 05:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231596AbjHIJ4i (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 05:56:38 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F21D21FDE; Wed, 9 Aug 2023 02:56:37 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 6314A8105; Wed, 9 Aug 2023 09:56:36 +0000 (UTC) From: Tony Lindgren <tony@atomide.com> To: linux-omap@vger.kernel.org Cc: Dhruva Gole <d-gole@ti.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Keerthy <j-keerthy@ti.com>, Kevin Hilman <khilman@baylibre.com>, Nishanth Menon <nm@ti.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig Date: Wed, 9 Aug 2023 12:56:33 +0300 Message-ID: <20230809095633.34025-1-tony@atomide.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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: INBOX X-GMAIL-THRID: 1773746322019898816 X-GMAIL-MSGID: 1773746322019898816 |
Series |
bus: ti-sysc: Fix a build warning with W=1 for sysconfig
|
|
Commit Message
Tony Lindgren
Aug. 9, 2023, 9:56 a.m. UTC
Dhruva reported a build warning with W=1 for "Function parameter or member
'sysconfig' not described in 'sysc'". Let's document sysconfig to fix this.
Reported-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/bus/ti-sysc.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Aug 09, 2023 at 12:56:33 +0300, Tony Lindgren wrote: > Dhruva reported a build warning with W=1 for "Function parameter or member > 'sysconfig' not described in 'sysc'". Let's document sysconfig to fix this. > > Reported-by: Dhruva Gole <d-gole@ti.com> > Signed-off-by: Tony Lindgren <tony@atomide.com> > --- Probably best to include a Fixes: commit no? > drivers/bus/ti-sysc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c > --- a/drivers/bus/ti-sysc.c > +++ b/drivers/bus/ti-sysc.c > @@ -109,6 +109,7 @@ static const char * const clock_names[SYSC_MAX_CLOCKS] = { > * @cookie: data used by legacy platform callbacks > * @name: name if available > * @revision: interconnect target module revision > + * @sysconfig: saved sysconfig register value > * @reserved: target module is reserved and already in use > * @enabled: sysc runtime enabled status > * @needs_resume: runtime resume needed on resume from suspend > -- > 2.41.0
* Dhruva Gole <d-gole@ti.com> [230809 10:11]:
> Probably best to include a Fixes: commit no?
Nah, it's a comment fix for W=1 warning for a driver private data struct :)
No need to have it applied in stable kernels as far as I can tell.
Regards,
Tony
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -109,6 +109,7 @@ static const char * const clock_names[SYSC_MAX_CLOCKS] = { * @cookie: data used by legacy platform callbacks * @name: name if available * @revision: interconnect target module revision + * @sysconfig: saved sysconfig register value * @reserved: target module is reserved and already in use * @enabled: sysc runtime enabled status * @needs_resume: runtime resume needed on resume from suspend