netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dhowells@redhat.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6]
Date: Thu, 26 Apr 2007 16:15:22 -0700 (PDT)	[thread overview]
Message-ID: <20070426.161522.76328746.davem@davemloft.net> (raw)
In-Reply-To: <20070426195415.24531.78794.stgit@warthog.cambridge.redhat.com>

From: David Howells <dhowells@redhat.com>
Date: Thu, 26 Apr 2007 20:54:15 +0100

> [This set of patches is built against Dave Miller's net-2.6 GIT tree]

Ok, I applied it all and added a compiler warning fix for 64-bit
at the end.

Thanks for all of your hard work pushing this stuff along David.

commit ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e
Author: David S. Miller <davem@sunset.davemloft.net>
Date:   Thu Apr 26 16:06:22 2007 -0700

    [AFS]: Fix u64 printing in debug logging.
    
    Need 'unsigned long long' casts to quiet warnings on
    64-bit platforms when using %ll on a u64.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/fs/afs/dir.c b/fs/afs/dir.c
index dbbe75d..dac5b99 100644
--- a/fs/afs/dir.c
+++ b/fs/afs/dir.c
@@ -419,7 +419,8 @@ static int afs_lookup_filldir(void *_cookie, const char *name, int nlen,
 	struct afs_lookup_cookie *cookie = _cookie;
 
 	_enter("{%s,%Zu},%s,%u,,%llu,%u",
-	       cookie->name, cookie->nlen, name, nlen, ino, dtype);
+	       cookie->name, cookie->nlen, name, nlen,
+	       (unsigned long long) ino, dtype);
 
 	/* insanity checks first */
 	BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048);
diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c
index f036b4c..2393d2a 100644
--- a/fs/afs/fsclient.c
+++ b/fs/afs/fsclient.c
@@ -105,7 +105,8 @@ static void xdr_decode_AFSFetchStatus(const __be32 **_bp,
 		status->data_version = data_version;
 		if (vnode && !test_bit(AFS_VNODE_UNSET, &vnode->flags)) {
 			_debug("vnode modified %llx on {%x:%u}",
-			       data_version, vnode->fid.vid, vnode->fid.vnode);
+			       (unsigned long long) data_version,
+			       vnode->fid.vid, vnode->fid.vnode);
 			set_bit(AFS_VNODE_MODIFIED, &vnode->flags);
 			set_bit(AFS_VNODE_ZAP_DATA, &vnode->flags);
 		}
diff --git a/fs/afs/inode.c b/fs/afs/inode.c
index 56ca858..c184a4e 100644
--- a/fs/afs/inode.c
+++ b/fs/afs/inode.c
@@ -36,7 +36,7 @@ static int afs_inode_map_status(struct afs_vnode *vnode, struct key *key)
 	_debug("FS: ft=%d lk=%d sz=%llu ver=%Lu mod=%hu",
 	       vnode->status.type,
 	       vnode->status.nlink,
-	       vnode->status.size,
+	       (unsigned long long) vnode->status.size,
 	       vnode->status.data_version,
 	       vnode->status.mode);
 

  parent reply	other threads:[~2007-04-26 23:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 19:54 [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 01/14] cancel_delayed_work: use del_timer() instead of del_timer_sync() [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 02/14] AF_RXRPC: Key facility changes for AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 03/14] AF_RXRPC: Make it possible to merely try to cancel timers from a module [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for use by userspace and kernel both [net-2.6] David Howells
2007-04-27  7:52   ` netdev file size restrictions??? Was: Re: [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for Bill Fink
2007-04-27  7:55     ` David Miller
2007-04-26 19:54 ` [PATCH 05/14] AFS: Clean up the AFS sources [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 06/14] AF_RXRPC: Add an interface to the AF_RXRPC module for the AFS filesystem to use [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 07/14] AF_RXRPC: Make the in-kernel AFS filesystem use AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 08/14] AF_RXRPC: Delete the old RxRPC code. [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 09/14] AFS: Handle multiple mounts of an AFS superblock correctly [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 10/14] AFS: Add security support [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 11/14] AFS: Update the AFS fs documentation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 12/14] AFS: Add support for the CB.GetCapabilities operation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 13/14] AFS: Implement the CB.InitCallBackState3 " David Howells
2007-04-26 19:55 ` [PATCH 14/14] AFS: Add "directory write" support [net-2.6] David Howells
2007-04-26 23:15 ` David Miller [this message]
2007-04-27  3:08   ` [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Miller
2007-04-27  3:12     ` David Miller
2007-04-27  3:18       ` David Miller
2007-04-27 11:59         ` David Howells
2007-04-27  3:20       ` David Miller
2007-04-27 12:03         ` David Howells
2007-04-27  3:41     ` David Miller
2007-04-27 14:28       ` David Howells
2007-04-27 11:30   ` David Howells

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=20070426.161522.76328746.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).