mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* compilation warning in 2.6.7
@ 2004-07-07 13:33 Leszek
  2004-07-07 16:40 ` [PATCH] smbfs " Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Leszek @ 2004-07-07 13:33 UTC (permalink / raw)
  To: linux-kernel


gcc 2.95.4  ( Debian Woody's default ) , kernel 2.6.7 from kernel.org 
gives me the following compilation warning:

fs/smbfs/file.o
   in function smb_file_sendfile
   line 274: unknown conversion type character 'z' in format

Please CC me in your answers as I am not subscribed to the list.

My config file can is here:

www.3miasto.net/~leszek/config.html

Leszek Koltunski

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

* [PATCH] smbfs compilation warning in 2.6.7
  2004-07-07 13:33 compilation warning in 2.6.7 Leszek
@ 2004-07-07 16:40 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2004-07-07 16:40 UTC (permalink / raw)
  To: Leszek; +Cc: linux-kernel, akpm, urban

On Wed, 7 Jul 2004 15:33:46 +0200 (CEST) Leszek wrote:

| 
| gcc 2.95.4  ( Debian Woody's default ) , kernel 2.6.7 from kernel.org 
| gives me the following compilation warning:
| 
| fs/smbfs/file.o
|    in function smb_file_sendfile
|    line 274: unknown conversion type character 'z' in format
| 
| Please CC me in your answers as I am not subscribed to the list.



Use %Zd to eliminate a compiler warning in printk.

diffstat:=
 fs/smbfs/file.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./fs/smbfs/file.c~smbfs_printk ./fs/smbfs/file.c
--- ./fs/smbfs/file.c~smbfs_printk	2004-06-15 22:19:53.000000000 -0700
+++ ./fs/smbfs/file.c	2004-07-07 09:39:21.886168160 -0700
@@ -271,7 +271,7 @@ smb_file_sendfile(struct file *file, lof
 
 	status = smb_revalidate_inode(dentry);
 	if (status) {
-		PARANOIA("%s/%s validation failed, error=%zd\n",
+		PARANOIA("%s/%s validation failed, error=%Zd\n",
 			 DENTRY_PATH(dentry), status);
 		goto out;
 	}

--
~Randy

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

end of thread, other threads:[~2004-07-07 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07 13:33 compilation warning in 2.6.7 Leszek
2004-07-07 16:40 ` [PATCH] smbfs " Randy.Dunlap

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

all inboxes | Powered by JetHome®