Skip to content

Commit

Permalink
afs: Fix debugging statements with %px to be %p
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dhowells committed Jun 9, 2020
1 parent 9ca0652 commit fed79fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/afs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
if (!IS_ERR_OR_NULL(inode))
fid = AFS_FS_I(inode)->fid;

_debug("splice %px", dentry->d_inode);
_debug("splice %p", dentry->d_inode);
d = d_splice_alias(inode, dentry);
if (!IS_ERR_OR_NULL(d)) {
d->d_fsdata = dentry->d_fsdata;
Expand Down
2 changes: 1 addition & 1 deletion fs/afs/vl_alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *k
};

volume = afs_create_volume(&fc);
_leave(" = %px", volume);
_leave(" = %p", volume);
return volume;
}

Expand Down

0 comments on commit fed79fd

Please sign in to comment.