diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-15 05:41:54 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-15 05:41:54 +0000 |
commit | c32916374b2b4f4d2b7ccdb357fe7989f3b407a6 (patch) | |
tree | 2bc4793f8ce958dcc113dfb370d1727d45cfdb6d /fs/cifs | |
parent | 646dd539878a194bc14b104621c0b2b33587e40f (diff) | |
download | blackbird-obmc-linux-c32916374b2b4f4d2b7ccdb357fe7989f3b407a6.tar.gz blackbird-obmc-linux-c32916374b2b4f4d2b7ccdb357fe7989f3b407a6.zip |
[CIFS] suppress duplicate warning
fs/cifs/dir.c: In function 'cifs_ci_compare':
fs/cifs/dir.c:582: warning: passing argument 1 of 'memcpy' discards
qualifiers from pointer target type
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 05afe33ea644..f0b5b5f3dd2e 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -608,7 +608,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a, * case take precedence. If a is not a negative dentry, this * should have no side effects */ - memcpy(a->name, b->name, a->len); + memcpy((void *)a->name, b->name, a->len); return 0; } return 1; |