[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH gnumach 02/16] Return a value on non-void function
From: |
Guillem Jover |
Subject: |
[PATCH gnumach 02/16] Return a value on non-void function |
Date: |
Tue, 30 Aug 2011 03:09:28 +0200 |
* i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0.
---
i386/i386at/com.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index f6d5656..90cfbb6 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -215,6 +215,8 @@ comcnprobe(struct consdev *cp)
cp->cn_dev = makedev(maj, unit);
cp->cn_pri = pri;
+
+ return 0;
}
@@ -287,6 +289,7 @@ comcninit(struct consdev *cp)
}
}
+ return 0;
}
/*
@@ -886,6 +889,8 @@ comcnputc(dev_t dev, int c)
if (c == '\n')
comcnputc(dev, '\r');
outb(addr, c);
+
+ return 0;
}
int
--
1.7.5.4
- [PATCH gnumach 01/16] Move Linux module macros to their original header, (continued)
- [PATCH gnumach 01/16] Move Linux module macros to their original header, Guillem Jover, 2011/08/29
- [PATCH gnumach 13/16] Denote __exit symbols as used, Guillem Jover, 2011/08/29
- [PATCH gnumach 08/16] Fix memcmp prototype, Guillem Jover, 2011/08/29
- [PATCH gnumach 05/16] Remove unused variable, Guillem Jover, 2011/08/29
- [PATCH gnumach 03/16] Cast function timeout() argument to fix a warning, Guillem Jover, 2011/08/29
- [PATCH gnumach 02/16] Return a value on non-void function,
Guillem Jover <=
- [PATCH gnumach 14/16] Correct MiG Mach types to fix compilation warnings, Guillem Jover, 2011/08/29
- [PATCH gnumach 12/16] Move <linux/init.h> from linux/pcmcia-cs to linux/src, Guillem Jover, 2011/08/29
- [PATCH gnumach 07/16] Add linux_timer_intr function declaration, Guillem Jover, 2011/08/29
- [PATCH gnumach 04/16] Cast host_get_time() arguments to fix warnings, Guillem Jover, 2011/08/29
- [PATCH gnumach 16/16] Fix undefined operation on assigning self pre-incremented variable, Guillem Jover, 2011/08/29