diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-15 01:41:54 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-15 01:41:54 -0400 |
commit | c32916374b2b4f4d2b7ccdb357fe7989f3b407a6 (patch) | |
tree | 2bc4793f8ce958dcc113dfb370d1727d45cfdb6d /fs/cifs | |
parent | 646dd539878a194bc14b104621c0b2b33587e40f (diff) |
[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, | |||
608 | * case take precedence. If a is not a negative dentry, this | 608 | * case take precedence. If a is not a negative dentry, this |
609 | * should have no side effects | 609 | * should have no side effects |
610 | */ | 610 | */ |
611 | memcpy(a->name, b->name, a->len); | 611 | memcpy((void *)a->name, b->name, a->len); |
612 | return 0; | 612 | return 0; |
613 | } | 613 | } |
614 | return 1; | 614 | return 1; |