]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:55:05 +0000 (19:55 -0600)
commit8e69979745bdd97fccda895da901fc2d5a52e0c9
tree11e7f3a5a79fc8948bba0f5852be61f1383c5c83
parenta2043df2324bbb02f28259b1892bf4f34283fd5b
cifs: Use ULL suffix for 64-bit constant

BugLink: https://bugs.launchpad.net/bugs/1836654
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/cifs/inode.c