All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] asiliantfb-add-missing-return-statement.patch removed from -mm tree
@ 2009-04-22 18:29 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-04-22 18:29 UTC (permalink / raw)
  To: vlada.peric, dilinger, mm-commits


The patch titled
     asiliantfb: add missing return statement
has been removed from the -mm tree.  Its filename was
     asiliantfb-add-missing-return-statement.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: asiliantfb: add missing return statement
From: Vlada Peric <vlada.peric@gmail.com>

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 Peric <vlada.peric@gmail.com>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/video/asiliantfb.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/video/asiliantfb.c~asiliantfb-add-missing-return-statement drivers/video/asiliantfb.c
--- a/drivers/video/asiliantfb.c~asiliantfb-add-missing-return-statement
+++ a/drivers/video/asiliantfb.c
@@ -533,6 +533,7 @@ static int __devinit init_asiliant(struc
 
 	writeb(0xff, mmio_base + 0x78c);
 	chips_hw_init(p);
+	return 0;
 }
 
 static int __devinit
_

Patches currently in -mm which might be from vlada.peric@gmail.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-22 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 18:29 [merged] asiliantfb-add-missing-return-statement.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.