Conrad Meyer 295e4149b0 aic7xxx(4): Fix unintended sign extension in ahd_inq()
ahd_inb() returns type uint8_t.  The shift left by untyped 24 implicitly
promotes the result to type (signed) int.  Then the binary OR with uint64_t
values sign-extends the integer.  If bit 31 of the read value happened to be
set, the 64-bit result would have all upper 32 bits set to 1 due to OR.  This
is clearly not intended.

Reported by:	Coverity
CID:		980473 (old one!)
2020-01-30 18:12:24 +00:00
..
2020-01-28 17:48:17 +00:00
2020-01-29 00:28:50 +00:00
2020-01-29 22:40:13 +00:00
2020-01-10 22:49:14 +00:00
2020-01-29 12:10:42 +00:00
2020-01-30 12:04:02 +00:00
2020-01-29 18:13:44 +00:00
2020-01-29 15:50:48 +00:00