mpt_sas substract long from int32_t (64Bit)
Several occurences where numeric datatypes of different size are substracted from each other
static clock_t mptsas_scsi_watchdog_tick; (type long -> sizeof(long) 8 on 64Bit)
Updated by Peer Dampmann over 9 years ago
I don't have enough experience in order to know what kind of values mptsas_scsi_watchdog_tick will take in practice. But in fact it is defined as a long and has the ability to store values bigger than an int32_t. There is a type mismatch and if for some reason someone relies on type long there is a problem, right?