From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: [PATCH 01/11] tty: Correct inline types for tty_driver_kref_get()
Date: Tue, 07 Apr 2009 16:48:07 +0100 [thread overview]
Message-ID: <20090407154804.18020.83059.stgit@t61.ukuu.org.uk> (raw)
In-Reply-To: <20090407154715.18020.44616.stgit@t61.ukuu.org.uk>
From: Adrian Bunk <bunk@kernel.org>
tty_driver_kref_get() should be static inline and not extern inline
(the latter even changed it's semantics in gcc >= 4.3).
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
include/linux/tty_driver.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 8615d66..bcba84e 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -309,7 +309,8 @@ extern void tty_set_operations(struct tty_driver *driver,
extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
extern void tty_driver_kref_put(struct tty_driver *driver);
-extern inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d)
+
+static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d)
{
kref_get(&d->kref);
return d;
next prev parent reply other threads:[~2009-04-07 14:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 15:47 [PATCH 00/11] Second serial updates (please discard previous) Alan Cox
2009-04-07 15:48 ` Alan Cox [this message]
2009-04-07 15:48 ` [PATCH 02/11] tty: Use the generic RS485 ioctl on CRIS Alan Cox
2009-04-07 15:48 ` [PATCH 03/11] serqt: initial clean up pass for tty side Alan Cox
2009-04-07 15:48 ` [PATCH 04/11] lanana: assign a device name and numbering for MAX3100 Alan Cox
2009-04-07 15:48 ` [PATCH 05/11] Add support for the MAX3100 SPI UART Alan Cox
2009-04-08 6:18 ` [-rc1, build bug] " Ingo Molnar
2009-04-08 6:34 ` chripell
2009-04-08 6:45 ` Yang Hongyang
2009-04-08 10:24 ` Alan Cox
2009-04-08 10:31 ` David Miller
2009-04-07 15:51 ` [PATCH 06/11] Change hardware flow control from poll to interrupt driven Alan Cox
2009-04-07 15:52 ` [PATCH 07/11] tty: Blackin CTS/RTS Alan Cox
2009-04-07 15:52 ` [PATCH 08/11] Change KCONFIG name Alan Cox
2009-04-07 15:52 ` [PATCH 09/11] KGDB_SERIAL_CONSOLE check for module Alan Cox
2009-04-07 15:53 ` [PATCH 10/11] Adjust path to gpio headers Alan Cox
2009-04-07 15:53 ` [PATCH 11/11] tty: jsm cleanups Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2009-04-07 15:40 [PATCH 00/11] Series short description Alan Cox
2009-04-07 15:40 ` [PATCH 01/11] tty: Correct inline types for tty_driver_kref_get() Alan Cox
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=20090407154804.18020.83059.stgit@t61.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).