login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
30
Re: Fw: [KJ][patch 2/3] CIFS SMB: use abs() from kernel.h where appropriate
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Steve French <smfrench@...>
To: <kernel-janitors@...>
Cc: LKML <linux-kernel@...>
Subject:
Re: Fw: [KJ][patch 2/3] CIFS SMB: use abs() from kernel.h where appropriate
Date: Thursday, August 30, 2007 - 4:19 pm
Merged into cifs-2.6.git tree.
quoted text
> From: Andre Haupt <andre@finow14.de> > Signed-off-by: Andre Haupt <andre@finow14.de> > --- > Index: linus/fs/cifs/cifssmb.c > =================================================================== > --- linus.orig/fs/cifs/cifssmb.c 2007-08-30 > 11:43:20.000000000 +0200 > +++ linus/fs/cifs/cifssmb.c 2007-08-30 11:44:58.000000000 > +0200 > @@ -513,7 +513,7 @@ CIFSSMBNegotiate(unsigned int xid, struc > (int)ts.tv_sec, (int)utc.tv_sec, > (int)(utc.tv_sec - ts.tv_sec))); > val = (int)(utc.tv_sec - > ts.tv_sec); > - seconds = val < 0 ? -val > : val; > + seconds = abs(val); > result = (seconds / > MIN_TZ_ADJ) * MIN_TZ_ADJ; > remain = seconds % > MIN_TZ_ADJ; > if (remain >= (MIN_TZ_ADJ > / 2)) > > -- > >
-- Thanks, Steve -
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:
Re: Fw: [KJ][patch 2/3] CIFS SMB: use abs() from kernel.h wh...
, Steve French
, (Thu Aug 30, 4:19 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Al Boldi
Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched...
Ingo Molnar
Re: [patch] sched_clock(): cleanups
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Amit K. Arora
[RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Denys Vlasenko
[PATCH 1/2] bnx2: factor out gzip unpacker
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
954 guests
online.
Online users
zeekec
Syndicate