Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3291637 authored by Steve French's avatar Steve French
Browse files

[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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 646dd539
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;