summaryrefslogtreecommitdiffstats
path: root/arch/nds32/math-emu/fdivs.c
diff options
context:
space:
mode:
authorVincent Chen <vincentc@andestech.com>2019-05-27 08:17:21 +0200
committerGreentime Hu <greentime@andestech.com>2019-05-31 09:23:25 +0200
commit8183db10db6377ac58ad048a4c827425a614695c (patch)
tree254cbc061694aca21fcd6885ced86adb8015189e /arch/nds32/math-emu/fdivs.c
parentLinux 5.2-rc1 (diff)
downloadlinux-8183db10db6377ac58ad048a4c827425a614695c.tar.xz
linux-8183db10db6377ac58ad048a4c827425a614695c.zip
math-emu: Use statement expressions to fix Wshift-count-overflow warning
To avoid "shift count >= width of type" warning, using statement expressions to implement the conditional controlling before constant shift The modification in op-2.h is taken from the glibc commit 'sysdeps/unix/sysv/lin ("fe0b1e854ad32")'. Signed-off-by: Vincent Chen <vincentc@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/math-emu/fdivs.c')
0 files changed, 0 insertions, 0 deletions