Re: [PATCH] cifs: Add support for parsing WSL-style symlinks

From: Pali Rohár
Date: Mon Nov 25 2024 - 17:25:34 EST


On Monday 25 November 2024 15:24:03 Steve French wrote:
> This patch
>
> commit 06a7adf318a30bdcfa1222ed6d2640e6bb266d7b
> Author: Pali Rohár <pali@xxxxxxxxxx>
> Date: Sat Sep 28 13:21:24 2024 +0200
>
> cifs: Add support for parsing WSL-style symlinks
>
>
> led to compile warning:
>
> CC [M] fs/smb/client/reparse.o
> CHECK fs/smb/client/reparse.c
> fs/smb/client/reparse.c:679:45: warning: incorrect type in argument 4
> (different base types)
> fs/smb/client/reparse.c:679:45: expected unsigned short [usertype] *pwcs
> fs/smb/client/reparse.c:679:45: got restricted __le16 [usertype]
> *[assigned] symname_utf16
>
>
> Let me know if updated version needed

I have already reacted for this problem more than month ago:
https://lore.kernel.org/oe-kbuild-all/20241007213401.bsfqwlb4c2k6ynlr@pali/

But nobody on the list replied :-( So I do not know what is the best way
to handle this issue.