projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486bad2
)
sunrpc: fix build-time warning
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 6 Jan 2010 22:26:27 +0000
(17:26 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 6 Jan 2010 22:30:05 +0000
(17:30 -0500)
Fix auth_gss printk format warning:
net/sunrpc/auth_gss/auth_gss.c:660: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/auth_gss.c
b/net/sunrpc/auth_gss/auth_gss.c
index
66cb89c
..
f7a7f83
100644
(file)
--- a/
net/sunrpc/auth_gss/auth_gss.c
+++ b/
net/sunrpc/auth_gss/auth_gss.c
@@
-657,7
+657,7
@@
gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
break;
default:
printk(KERN_CRIT "%s: bad return from "
- "gss_fill_context: %
l
d\n", __func__, err);
+ "gss_fill_context: %
z
d\n", __func__, err);
BUG();
}
goto err_release_msg;