]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cppcheck: (error) Shifting signed 64-bit value by 63 bits
authorUbuntu <ubuntu@ip-172-31-20-6.us-west-1.compute.internal>
Sat, 14 Dec 2019 00:16:42 +0000 (00:16 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Dec 2019 01:24:42 +0000 (17:24 -0800)
commitabfdb836079410d73ce0ee25fb4e8aec7e7c59ae
tree760e8819e06df6d06d3f5021de0d389a94504648
parent7cf1fe63316d20ae7986b4060337d0e2966a42b1
cppcheck: (error) Shifting signed 64-bit value by 63 bits

As of cppcheck 1.82 surpress the warning regarding shifting too many
bits for __divdi3() implemention.  The algorithm used here is correct.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9732
module/os/linux/spl/spl-generic.c