projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/lustre: Remove unnecessary space after a cast
[cascardo/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
ptlrpc
/
sec_config.c
diff --git
a/drivers/staging/lustre/lustre/ptlrpc/sec_config.c
b/drivers/staging/lustre/lustre/ptlrpc/sec_config.c
index
303bf96
..
1238c87
100644
(file)
--- a/
drivers/staging/lustre/lustre/ptlrpc/sec_config.c
+++ b/
drivers/staging/lustre/lustre/ptlrpc/sec_config.c
@@
-644,7
+644,7
@@
static int logname2fsname(const char *logname, char *buf, int buflen)
return -EINVAL;
}
- len = min((int)
(ptr - logname), buflen - 1);
+ len = min((int)(ptr - logname), buflen - 1);
memcpy(buf, logname, len);
buf[len] = '\0';