linux_dsm_epyc7002/fs/vboxsf
Hans de Goede 9d682ea6bc vboxsf: Fix the check for the old binary mount-arguments struct
Fix the check for the mainline vboxsf code being used with the old
mount.vboxsf mount binary from the out-of-tree vboxsf version doing
a comparison between signed and unsigned data types.

This fixes the following smatch warnings:

fs/vboxsf/super.c:390 vboxsf_parse_monolithic() warn: impossible condition '(options[1] == (255)) => ((-128)-127 == 255)'
fs/vboxsf/super.c:391 vboxsf_parse_monolithic() warn: impossible condition '(options[2] == (254)) => ((-128)-127 == 254)'
fs/vboxsf/super.c:392 vboxsf_parse_monolithic() warn: impossible condition '(options[3] == (253)) => ((-128)-127 == 253)'

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2020-08-25 08:47:01 -04:00
..
dir.c fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
file.c fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
Kconfig fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
Makefile fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
shfl_hostintf.h fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
super.c vboxsf: Fix the check for the old binary mount-arguments struct 2020-08-25 08:47:01 -04:00
utils.c fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
vboxsf_wrappers.c fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00
vfsmod.h fs: Add VirtualBox guest shared folder (vboxsf) support 2020-02-08 17:34:58 -05:00