public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* (Resent) [PATCH] 2.5.72 smb_proc_setattr_unix warnings
@ 2003-06-19 12:20 Flameeyes
  2003-06-19 17:32 ` Joshua Kwan
  0 siblings, 1 reply; 2+ messages in thread
From: Flameeyes @ 2003-06-19 12:20 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

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>

[-- Attachment #2: patch-smb.diff --]
[-- Type: text/plain, Size: 525 bytes --]

--- include/linux/smbno.h.orig	2003-06-17 13:11:22.000000000 +0200
+++ include/linux/smbno.h	2003-06-17 13:11:38.000000000 +0200
@@ -347,8 +347,8 @@
 #define SMB_MODE_NO_CHANGE		0xFFFFFFFF
 #define SMB_UID_NO_CHANGE		0xFFFFFFFF
 #define SMB_GID_NO_CHANGE		0xFFFFFFFF
-#define SMB_TIME_NO_CHANGE		0xFFFFFFFFFFFFFFFF
-#define SMB_SIZE_NO_CHANGE		0xFFFFFFFFFFFFFFFF
+#define SMB_TIME_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL
+#define SMB_SIZE_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL
 
 /* UNIX filetype mappings. */
 #define UNIX_TYPE_FILE		0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (Resent) [PATCH] 2.5.72 smb_proc_setattr_unix warnings
  2003-06-19 12:20 (Resent) [PATCH] 2.5.72 smb_proc_setattr_unix warnings Flameeyes
@ 2003-06-19 17:32 ` Joshua Kwan
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Kwan @ 2003-06-19 17:32 UTC (permalink / raw)
  To: Flameeyes; +Cc: linux-kernel mailing list

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

On Thu, Jun 19, 2003 at 02:20:58PM +0200, Flameeyes wrote:
> it simply adds the ULL attr at the end of the constants in
> include/linux/smbno.h

It's in Andrew Morton's tree already, I expect it should be
sent upwards soon :)

-Josh

-- 
New PGP public key: 0x27AFC3EE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-19 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 12:20 (Resent) [PATCH] 2.5.72 smb_proc_setattr_unix warnings Flameeyes
2003-06-19 17:32 ` Joshua Kwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox