[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167419944210.139121.12555885098749511339.b4-ty@linaro.org>
Date: Fri, 20 Jan 2023 08:24:11 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Tomasz Figa <tomasz.figa@...il.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Arnd Bergmann <arnd@...db.de>, Arnd Bergmann <arnd@...nel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-samsung-soc@...r.kernel.org,
Alim Akhtar <alim.akhtar@...sung.com>,
Heiko Stuebner <heiko@...ech.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Russell King <linux@...linux.org.uk>
Subject: Re: [PATCH] ARM: s3c: fix s3c64xx_set_timer_source prototype
On Wed, 18 Jan 2023 10:02:12 +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The prototype does not match the definition, as gcc-13 points
> out:
>
> arch/arm/mach-s3c/s3c64xx.c:169:13: error: conflicting types for 's3c64xx_set_timer_source' due to enum/integer mismatch; have 'void(unsigned int, unsigned int)' [-Werror=enum-int-mismatch]
> 169 | void __init s3c64xx_set_timer_source(unsigned int event, unsigned int source)
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from arch/arm/mach-s3c/s3c64xx.c:50:
> arch/arm/mach-s3c/s3c64xx.h:62:20: note: previous declaration of 's3c64xx_set_timer_source' with type 'void(enum s3c64xx_timer_mode, enum s3c64xx_timer_mode)'
> 62 | extern void __init s3c64xx_set_timer_source(enum s3c64xx_timer_mode event,
> | ^~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied, thanks!
[1/1] ARM: s3c: fix s3c64xx_set_timer_source prototype
https://git.kernel.org/krzk/linux/c/5bf52f5e4d12b8109f348cab60cb7d51092c4270
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Powered by blists - more mailing lists