From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix warning in clock.c
Date: Wed, 04 Oct 2006 15:28:43 +0200 [thread overview]
Message-ID: <4523B70B.6030100@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
Fix warning
arch/arm/mach-omap1/clock.c: In function
'omap1_clk_enable_generic':
arch/arm/mach-omap1/clock.c:499: warning: 'return' with no
value, in function returning non-void
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
[-- Attachment #2: clock_warning_patch.txt --]
[-- Type: text/plain, Size: 301 bytes --]
--- ./arch/arm/mach-omap1/clock.c_orig 2006-10-04 15:07:39.000000000 +0200
+++ ./arch/arm/mach-omap1/clock.c 2006-10-04 15:09:41.000000000 +0200
@@ -496,7 +496,7 @@ static int omap1_clk_enable_generic(stru
}
}
- return;
+ return 0;
}
static void omap1_clk_disable_generic(struct clk *clk)
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2006-10-04 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 13:28 Dirk Behme [this message]
2006-10-05 7:48 ` [PATCH] ARM: OMAP: Fix warning in clock.c Ladislav Michl
2006-10-05 13:22 ` Dirk Behme
2006-10-06 12:52 ` Tony Lindgren
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=4523B70B.6030100@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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