login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: [PATCH] watchdog: add Nano 7240 driver
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Gilles Gigan <gilles.gigan@...>
Cc: <gilles.gigan@...>, <linux-kernel@...>, <wim@...>
Subject:
Re: [PATCH] watchdog: add Nano 7240 driver
Date: Monday, October 15, 2007 - 3:15 pm
On Sun, 07 Oct 2007 22:49:00 +1000 Gilles Gigan <gilles.gigan@bluebottle.com> wrote:
quoted text
> Andrey Panin wrote: > >> +#ifdef CONFIG_WATCHDOG_NOWAYOUT > >> +#define NOWAYOUT 1 > >> +#else > >> +#define NOWAYOUT 0 > >> +#endif > >> +static int nowayout = NOWAYOUT; > > > > You don't need this #ifdef crap. Just use WATCHDOG_NOWAYOUT instead. > > done > > > >> + if ((_IOC_DIR(cmd) & _IOC_READ) && > >> + (!access_ok(VERIFY_WRITE, (void __user *)arg, _IOC_SIZE(cmd)))) > >> + return -EFAULT; > >> + if ((_IOC_DIR(cmd) & _IOC_WRITE) && > >> + (!access_ok(VERIFY_READ, (void __user *)arg, _IOC_SIZE(cmd)))) > >> + return -EFAULT; > > > > Is this really needed ? > > removed > > Signed-off-by: Gilles Gigan <gilles.gigan@bluebottle.com> > --- > > diff -uprN -X linux-2.6.23-rc9/Documentation/dontdiff > linux-2.6.23-rc9/drivers/char/watchdog/Kconfig > linux-2.6.23-rc9-dirty/drivers/char/watchdog/Kconfig
Could you please send a new version of this patch which has a changelog, isn't space-stuffed and isn't wordwrapped? Thanks. -
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] watchdog: add Nano 7240 driver
, Gilles Gigan
, (Sat Oct 6, 11:39 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Andrey Panin
, (Sun Oct 7, 3:08 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Gilles Gigan
, (Sun Oct 7, 8:49 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Andrew Morton
, (Mon Oct 15, 3:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
Re: Linux 2.6.21-rc4
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Balbir Singh
Re: [RFC][PATCH 2/7] RSS controller core
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Andreas Henriksson
[PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage.
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
795 guests
online.
Online users
Maurizio
Syndicate