linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig
@ 2023-08-09  9:56 Tony Lindgren
  2023-08-09 10:11 ` Dhruva Gole
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2023-08-09  9:56 UTC (permalink / raw)
  To: linux-omap
  Cc: Dhruva Gole, Greg Kroah-Hartman, Keerthy, Kevin Hilman,
	Nishanth Menon, linux-kernel, linux-arm-kernel

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(+)

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig
  2023-08-09  9:56 [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig Tony Lindgren
@ 2023-08-09 10:11 ` Dhruva Gole
  2023-08-10  6:23   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Dhruva Gole @ 2023-08-09 10:11 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-omap, Greg Kroah-Hartman, Keerthy, Kevin Hilman,
	Nishanth Menon, linux-kernel, linux-arm-kernel

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

-- 
Best regards,
Dhruva Gole <d-gole@ti.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig
  2023-08-09 10:11 ` Dhruva Gole
@ 2023-08-10  6:23   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2023-08-10  6:23 UTC (permalink / raw)
  To: Dhruva Gole
  Cc: linux-omap, Greg Kroah-Hartman, Keerthy, Kevin Hilman,
	Nishanth Menon, linux-kernel, linux-arm-kernel

* 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-10  6:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09  9:56 [PATCH] bus: ti-sysc: Fix a build warning with W=1 for sysconfig Tony Lindgren
2023-08-09 10:11 ` Dhruva Gole
2023-08-10  6:23   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).