From: Steve French Date: Mon, 2 Oct 2006 05:59:18 +0000 (+0000) Subject: [CIFS] Fix compiler warning with previous patch X-Git-Tag: v2.6.19-rc2~10^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1a70d6529ad9f5978af846440f8a809784d6e813;p=linux-2.6-omap-h63xx.git [CIFS] Fix compiler warning with previous patch Signed-off-by: Steve French --- diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 005fb315477..79a01d35a78 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -477,7 +477,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) server->capabilities = CAP_MPX_MODE; } tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); - if (tmp == 0xffff) { + if (tmp == -1) { /* OS/2 often does not set timezone therefore * we must use server time to calc time zone. * Could deviate slightly from the right zone.