Skip to content

Commit fed79fd

Browse files
committed
afs: Fix debugging statements with %px to be %p
Fix a couple of %px to be %p in debugging statements. Fixes: e49c7b2 ("afs: Build an abstraction around an "operation" concept") Fixes: 8a070a9 ("afs: Detect cell aliases 1 - Cells with root volumes") Reported-by: Kees Cook <[email protected]> Signed-off-by: David Howells <[email protected]> Reviewed-by: Kees Cook <[email protected]>
1 parent 9ca0652 commit fed79fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fs/afs/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
980980
if (!IS_ERR_OR_NULL(inode))
981981
fid = AFS_FS_I(inode)->fid;
982982

983-
_debug("splice %px", dentry->d_inode);
983+
_debug("splice %p", dentry->d_inode);
984984
d = d_splice_alias(inode, dentry);
985985
if (!IS_ERR_OR_NULL(d)) {
986986
d->d_fsdata = dentry->d_fsdata;

fs/afs/vl_alias.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *k
2828
};
2929

3030
volume = afs_create_volume(&fc);
31-
_leave(" = %px", volume);
31+
_leave(" = %p", volume);
3232
return volume;
3333
}
3434

0 commit comments

Comments
 (0)