OSDN Git Service

cifs: Use ULL suffix for 64-bit constant
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 5 Apr 2018 12:57:11 +0000 (14:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Nov 2018 15:42:54 +0000 (07:42 -0800)
commita2b9a0def3e99bfa064364dc6c21b5eccb06db2e
treea1eb5a8cba5c3adb305b9e2f79cc5ddea465a244
parent6279fc56944b4d244aaa96a7da0cd3c413dd2ac4
cifs: Use ULL suffix for 64-bit constant

[ Upstream commit 3995bbf53bd2047f2720c6fdd4bf38f6d942a0c0 ]

On 32-bit (e.g. with m68k-linux-gnu-gcc-4.1):

    fs/cifs/inode.c: In function ‘simple_hashstr’:
    fs/cifs/inode.c:713: warning: integer constant is too large for ‘long’ type

Fixes: 7ea884c77e5c97f1 ("smb3: Fix root directory when server returns inode number of zero")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/inode.c