mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment
@ 2026-06-09 19:57 Ethan Nelson-Moore
  2026-06-09 23:30 ` Max Filippov
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-09 19:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ethan Nelson-Moore, Chris Zankel, Max Filippov

A comment in arch/xtensa/include/asm/platform.h incorrectly refers to
CONFIG_XTENSA_CALIBRATE instead of CONFIG_XTENSA_CALIBRATE_CCOUNT.
Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.
---
 arch/xtensa/include/asm/platform.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h
index 94f13fabf7cd..f2e50fc12b4d 100644
--- a/arch/xtensa/include/asm/platform.h
+++ b/arch/xtensa/include/asm/platform.h
@@ -33,7 +33,7 @@ extern void platform_setup (char **);
 extern void platform_idle (void);
 
 /*
- * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)
+ * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE_CCOUNT)
  */
 extern void platform_calibrate_ccount (void);
 
-- 
2.43.0


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

* Re: [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment
  2026-06-09 19:57 [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment Ethan Nelson-Moore
@ 2026-06-09 23:30 ` Max Filippov
  2026-06-10  1:18   ` Ethan Nelson-Moore
  0 siblings, 1 reply; 4+ messages in thread
From: Max Filippov @ 2026-06-09 23:30 UTC (permalink / raw)
  To: Ethan Nelson-Moore; +Cc: linux-kernel, Chris Zankel

On Tue, Jun 9, 2026 at 12:58 PM Ethan Nelson-Moore
<enelsonmoore@gmail.com> wrote:
>
> A comment in arch/xtensa/include/asm/platform.h incorrectly refers to
> CONFIG_XTENSA_CALIBRATE instead of CONFIG_XTENSA_CALIBRATE_CCOUNT.
> Correct it.
>
> Discovered while searching for CONFIG_* symbols referenced in code but
> not defined in any Kconfig file.

The change looks good to me.
Please add you Signed-off-by tag.

> ---
>  arch/xtensa/include/asm/platform.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h
> index 94f13fabf7cd..f2e50fc12b4d 100644
> --- a/arch/xtensa/include/asm/platform.h
> +++ b/arch/xtensa/include/asm/platform.h
> @@ -33,7 +33,7 @@ extern void platform_setup (char **);
>  extern void platform_idle (void);
>
>  /*
> - * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)
> + * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE_CCOUNT)
>   */
>  extern void platform_calibrate_ccount (void);
>
> --
> 2.43.0
>


-- 
Thanks.
-- Max

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

* Re: [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment
  2026-06-09 23:30 ` Max Filippov
@ 2026-06-10  1:18   ` Ethan Nelson-Moore
  2026-06-10  1:37     ` Ethan Nelson-Moore
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-10  1:18 UTC (permalink / raw)
  To: Max Filippov; +Cc: linux-kernel, Chris Zankel

Hi, Max,

On Tue, Jun 9, 2026 at 4:30 PM Max Filippov <jcmvbkbc@gmail.com> wrote:
> The change looks good to me.
> Please add you Signed-off-by tag.

Thanks for your review.
I am not sure how the tag got omitted - I used a script that calls git
format-patch with -s to ensure it is included.
I will resend the patch with the tag tomorrow.

Ethan

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

* Re: [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment
  2026-06-10  1:18   ` Ethan Nelson-Moore
@ 2026-06-10  1:37     ` Ethan Nelson-Moore
  0 siblings, 0 replies; 4+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-10  1:37 UTC (permalink / raw)
  To: Max Filippov; +Cc: linux-kernel, Chris Zankel

Hi, Max,

On Tue, Jun 9, 2026 at 6:18 PM Ethan Nelson-Moore
<enelsonmoore@gmail.com> wrote:
> I am not sure how the tag got omitted - I used a script that calls git
> format-patch with -s to ensure it is included.
> I will resend the patch with the tag tomorrow.

I figured this out - it was a bug in another one of my scripts. It
shouldn't happen again.

Ethan

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

end of thread, other threads:[~2026-06-10  1:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 19:57 [PATCH] xtensa: correct CONFIG_XTENSA_CALIBRATE_CCOUNT macro name in comment Ethan Nelson-Moore
2026-06-09 23:30 ` Max Filippov
2026-06-10  1:18   ` Ethan Nelson-Moore
2026-06-10  1:37     ` Ethan Nelson-Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome