Messages in this thread Patch in this message | | | Date | Wed, 21 Feb 2007 11:19:07 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Linux 2.6.21-rc1 |
| |
On Wed, 21 Feb 2007, Faik Uygur wrote: > > CHK include/linux/version.h > CHK include/linux/utsrelease.h > CHK include/linux/compile.h > CC [M] drivers/char/ip2/ip2main.o > In file included from drivers/char/ip2/ip2main.c:285: > drivers/char/ip2/i2lib.c: In function `iiSendPendingMail_t': > drivers/char/ip2/i2lib.c:83: sorry, unimplemented: inlining failed in call > to 'iiSendPendingMail': function body not available > drivers/char/ip2/i2lib.c:157: sorry, unimplemented: called from here > make[3]: *** [drivers/char/ip2/ip2main.o] Error 1 > make[2]: *** [drivers/char/ip2] Error 2 > make[1]: *** [drivers/char] Error 2 > make: *** [drivers] Error 2
Yeah, that thing was crud.
Linus
--- commit 5fc7e655a50b0a19229a6b4a8a5e23bfedf700a4 Author: Linus Torvalds <torvalds@woody.linux-foundation.org> Date: Wed Feb 21 11:18:26 2007 -0800
Fix bogus 'inline' in drivers/char/ip2/i2lib.c Not only was the function way too big to be inlined in the first place, it was used before it was even defined. Noted-by: Faik Uygur <faik@pardus.org.tr> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/drivers/char/ip2/i2lib.c b/drivers/char/ip2/i2lib.c index f86fa0c..e46120d 100644 --- a/drivers/char/ip2/i2lib.c +++ b/drivers/char/ip2/i2lib.c @@ -80,7 +80,7 @@ static int i2RetryFlushOutput(i2ChanStrPtr); // Not a documented part of the library routines (careful...) but the Diagnostic // i2diag.c finds them useful to help the throughput in certain limited // single-threaded operations. -static inline void iiSendPendingMail(i2eBordStrPtr); +static void iiSendPendingMail(i2eBordStrPtr); static void serviceOutgoingFifo(i2eBordStrPtr); // Functions defined in ip2.c as part of interrupt handling @@ -166,7 +166,7 @@ static void iiSendPendingMail_t(unsigned long data) // If any outgoing mail bits are set and there is outgoing mailbox is empty, // send the mail and clear the bits. //****************************************************************************** -static inline void +static void iiSendPendingMail(i2eBordStrPtr pB) { if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) ) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |