cifs: fix the out of range assignment to bit fields in parse_server_interfaces
stable inclusion from stable-5.10.55 commit 65039407489c3baddbd883acc243867c2c28f9c3 bugzilla: 175636 https://gitee.com/openeuler/kernel/issues/I4DYWD Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=65039407489c3baddbd883acc243867c2c28f9c3 -------------------------------- [ Upstream commit c9c9c681 ] Because the out of range assignment to bit fields are compiler-dependant, the fields could have wrong value. Signed-off-by: NHyunchul Lee <hyc.lee@gmail.com> Signed-off-by: NSteve French <stfrench@microsoft.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录