login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH 5/7] PPS: serial clients support.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Rodolfo Giometti <giometti@...>
Cc: <linux-kernel@...>, <dwmw2@...>, <davej@...>, <sam@...>, <greg@...>, <randy.dunlap@...>
Subject:
Re: [PATCH 5/7] PPS: serial clients support.
Date: Friday, March 21, 2008 - 1:41 pm
On Fri, 21 Mar 2008 12:17:36 +0100 Rodolfo Giometti <giometti@enneenne.com> wrote:
quoted text
> > > +#else > > > + > > > +#define uart_register_pps_port(state, port) do { } while (0) > > > +#define uart_unregister_pps_port(state, port) do { } while (0) > > > > Please never implement in cpp that which can be implemented in C. These > > should have been static inlines. That's nicer, matches the > > CONFIG_PPS_CLIENT_UART=y code and provides type checking. > > Are you saying that I should do: > > static inline int > uart_register_pps_port(struct uart_state *state, struct uart_port *port) > { > /* Nop */ > } > > static inline void > uart_unregister_pps_port(struct uart_state *state, struct uart_port *port) > { > /* Nop */ > } > > ?
Yes please. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 4/7] PPS: LinuxPPS clients support.
, Rodolfo Giometti
, (Thu Mar 6, 8:09 am)
[PATCH 5/7] PPS: serial clients support.
, Rodolfo Giometti
, (Thu Mar 6, 8:09 am)
Re: [PATCH 5/7] PPS: serial clients support.
, Andrew Morton
, (Thu Mar 20, 4:04 pm)
Re: [PATCH 5/7] PPS: serial clients support.
, Rodolfo Giometti
, (Fri Mar 21, 7:17 am)
Re: [PATCH 5/7] PPS: serial clients support.
, Andrew Morton
, (Fri Mar 21, 1:41 pm)
Re: [PATCH 5/7] PPS: serial clients support.
, Rodolfo Giometti
, (Tue Mar 25, 6:38 am)
[PATCH 6/7] PPS: example program to enable PPS support on se...
, Rodolfo Giometti
, (Thu Mar 6, 8:09 am)
[PATCH 7/7] PPS: parallel port clients support.
, Rodolfo Giometti
, (Thu Mar 6, 8:09 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
793 guests
online.
Online users
vaxerri
bambooflo
Syndicate