mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Leszek <leszek@serwer.3miasto.net>
Cc: linux-kernel@vger.kernel.org, akpm <akpm@osdl.org>,
	urban@teststation.com
Subject: [PATCH] smbfs compilation warning in 2.6.7
Date: Wed, 7 Jul 2004 09:40:08 -0700	[thread overview]
Message-ID: <20040707094008.5504bf05.rddunlap@osdl.org> (raw)
In-Reply-To: <Pine.NEB.4.60.0407071528060.25796@serwer.3miasto.net>

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

      reply	other threads:[~2004-07-07 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07 13:33 Leszek
2004-07-07 16:40 ` Randy.Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040707094008.5504bf05.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --cc=leszek@serwer.3miasto.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=urban@teststation.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®