[PATCH] 2.5.72 smb_proc_setattr_unix warnings

Flameeyes (daps_mls@libero.it)
17 Jun 2003 13:15:57 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-28704-1055848540-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

This patch fixes these warnings:

CC fs/smbfs/proc.o
fs/smbfs/proc.c: In function `smb_proc_setattr_unix':
fs/smbfs/proc.c:3044: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3045: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3046: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3047: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3048: warning: integer constant is too large for "long"
type

it simply adds the ULL attr at the end of the constants in
include/linux/smbno.h

-- 
Flameeyes <dgp85@users.sf.net>

--=_courier-28704-1055848540-0001-2 Content-Type: text/plain; name="patch-smb.diff"; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch-smb.diff

350,351c350,351 < #define SMB_TIME_NO_CHANGE 0xFFFFFFFFFFFFFFFF < #define SMB_SIZE_NO_CHANGE 0xFFFFFFFFFFFFFFFF

---
> #define SMB_TIME_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL
> #define SMB_SIZE_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL

--=_courier-28704-1055848540-0001-2--