public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti•com (Santosh Shilimkar)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/3] ARM: OMAP4: Fix build error and warning in timer.c
Date: Wed, 28 Nov 2012 11:17:21 +0530	[thread overview]
Message-ID: <50B5A569.4000908@ti.com> (raw)
In-Reply-To: <1354068915-3378-3-git-send-email-jon-hunter@ti.com>

On Wednesday 28 November 2012 07:45 AM, Jon Hunter wrote:
> When compiling the kernel with configuration option CONFIG_ARCH_OMAP4
> enabled and CONFIG_LOCAL_TIMERS disabled, the following build error and
> warning is seen.
>
>    CC      arch/arm/mach-omap2/timer.o
>    arch/arm/mach-omap2/timer.c: In function ?omap4_local_timer_init?:
>    arch/arm/mach-omap2/timer.c:630:2: error: implicit declaration of
>    	function ?omap4_sync32_timer_init?
> 	[-Werror=implicit-function-declaration]
>    arch/arm/mach-omap2/timer.c: At top level:
>    arch/arm/mach-omap2/timer.c:607:1: warning: ?omap4_sync32k_timer_init?
>    	defined but not used [-Wunused-function]
>    cc1: some warnings being treated as errors
>    make[1]: *** [arch/arm/mach-omap2/timer.o] Error 1
>
> This issue was introduced by commit 6f80b3b (ARM: OMAP2+: timer: remove
> CONFIG_OMAP_32K_TIMER) where the "k" is missing from the "sync32k" in
> the function name "omap4_sync32_timer_init". Therefore, correct this
> typo to resolve the above error and warning.
>
> Cc: Igor Grinberg <grinberg@compulab•co.il>
>
> Reported-by: Tony Lindgren <tony@atomide•com>
> Signed-off-by: Jon Hunter <jon-hunter@ti•com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti•com>

  reply	other threads:[~2012-11-28  5:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28  2:15 [PATCH 0/3] ARM: OMAP2+: Timer build warnings and error fixes Jon Hunter
2012-11-28  2:15 ` [PATCH 1/3] ARM: OMAP2+: Fix realtime_counter_init warning in timer.c Jon Hunter
2012-11-28  6:09   ` Santosh Shilimkar
2012-11-28 15:47     ` Jon Hunter
2012-11-28 15:55       ` Santosh Shilimkar
2012-11-28 16:01         ` Jon Hunter
2012-11-28 16:06           ` Santosh Shilimkar
2012-11-28 16:04       ` Santosh Shilimkar
2012-11-28  2:15 ` [PATCH 2/3] ARM: OMAP4: Fix build error and " Jon Hunter
2012-11-28  5:47   ` Santosh Shilimkar [this message]
2012-11-28  6:40   ` Igor Grinberg
2012-11-28  2:15 ` [PATCH 3/3] ARM: AM335x: Fix " Jon Hunter
2012-11-28  6:28   ` Santosh Shilimkar
2012-11-28  6:46     ` Igor Grinberg
2012-11-28  7:20       ` Santosh Shilimkar
2012-11-28 16:06         ` Jon Hunter
2012-11-28 10:21   ` Vaibhav Hiremath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B5A569.4000908@ti.com \
    --to=santosh.shilimkar@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox