From: Vlada Peric <vlada.peric@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: dilinger@debian.org
Subject: [PATCH] asiliantfb: add missing return statement
Date: Fri, 10 Apr 2009 11:55:25 +0200 [thread overview]
Message-ID: <6e4284620904100255i600e130fpcb2ac967f6f0c5d0@mail.gmail.com> (raw)
Commit 032220ba (asiliantfb: fix cmap memory leaks) changed the function
init_asiliant from void to int, resulting in the following compile warning:
drivers/video/asiliantfb.c: In function ‘init_asiliant’:
drivers/video/asiliantfb.c:536: warning: control reaches end of
non-void function
Fix the warning by returning 0.
Signed-off-by: Vlada Perić <vlada.peric@gmail.com>
CC: Andres Salomon <dilinger@debian.org>
---
drivers/video/asiliantfb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/asiliantfb.c b/drivers/video/asiliantfb.c
index 1a1f946..9fe90ce 100644
--- a/drivers/video/asiliantfb.c
+++ b/drivers/video/asiliantfb.c
@@ -533,6 +533,7 @@ static int __devinit init_asiliant(struct fb_info
*p, unsigned long addr)
writeb(0xff, mmio_base + 0x78c);
chips_hw_init(p);
+ return 0;
}
static int __devinit
--
1.6.2.2
reply other threads:[~2009-04-10 9:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=6e4284620904100255i600e130fpcb2ac967f6f0c5d0@mail.gmail.com \
--to=vlada.peric@gmail.com \
--cc=dilinger@debian.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®