[<prev] [next>] [day] [month] [year] [list]
Message-ID: <524f69650708301319l1c46e56braf38734b4746f24a@mail.gmail.com>
Date: Thu, 30 Aug 2007 15:19:48 -0500
From: "Steve French" <smfrench@...il.com>
To: kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Fw: [KJ][patch 2/3] CIFS SMB: use abs() from kernel.h where appropriate
Merged into cifs-2.6.git tree.
> From: Andre Haupt <andre@...ow14.de>
> Signed-off-by: Andre Haupt <andre@...ow14.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists