2.6.27.58-rc1 build error Re: [PATCH 21/23] hvc_console: Fix racebetween hvc_close and hvc_remove

From: Jayson R. King
Date: Tue Feb 08 2011 - 22:53:37 EST


drivers/char/hvc_console.c: In function 'hvc_open':
drivers/char/hvc_console.c:315: error: implicit declaration of function 'tty_kref_get'
drivers/char/hvc_console.c:324: warning: assignment makes pointer from integer without a cast
drivers/char/hvc_console.c:341: error: implicit declaration of function 'tty_kref_put'
drivers/char/hvc_console.c: In function 'hvc_poll':
drivers/char/hvc_console.c:558: warning: assignment makes pointer from integer without a cast
drivers/char/hvc_console.c: In function 'hvc_remove':
drivers/char/hvc_console.c:759: warning: assignment makes pointer from integer without a cast

I don't see a tty_kref_get or tty_kref_put on 2.6.27. Those functions first appeared in 2.6.28.

Jayson

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/