]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: convert to use ERR_CAST()
authorYuesong Li <liyuesong@vivo.com>
Thu, 29 Aug 2024 11:52:41 +0000 (19:52 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 15 Sep 2024 15:42:44 +0000 (10:42 -0500)
commit9290038be2f91917d384b48f85665c4498c378f3
treeb62230f226f9545a266f7d4122a115566ff4be2b
parente2fcd3fa0351ea2133d1238fcc6a9f140c52d36f
cifs: convert to use ERR_CAST()

Use ERR_CAST() as it is designed for casting an error pointer to
another type.

This macro uses the __force and __must_check modifiers, which are used
to tell the compiler to check for errors where this macro is used.

Signed-off-by: Yuesong Li <liyuesong@vivo.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/connect.c