]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Fix compiler warnings in float emulation code
authorHelge Deller <deller@gmx.de>
Fri, 24 May 2019 21:16:25 +0000 (23:16 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 24 May 2019 22:11:04 +0000 (00:11 +0200)
commitd2f530e2b988aea55d411ca5fa1d03ac227e8088
treee36e8c65ab6699ca15aecb1668ddff1a84ba1c6c
parentc6f2cce8c9366590a9e7332029333c3b30548990
parisc: Fix compiler warnings in float emulation code

Avoid such compiler warnings:
arch/parisc/math-emu/cnv_float.h:71:27: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
     ((Dintp1(dint_valueA) << 33 - SGL_EXP_LENGTH) || Dintp2(dint_valueB))
arch/parisc/math-emu/fcnvxf.c:257:6: note: in expansion of macro ‘Dint_isinexact_to_sgl’
  if (Dint_isinexact_to_sgl(srcp1,srcp2)) {

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/math-emu/cnv_float.h