• Guenter Roeck's avatar
    hwmon: (it87) Features mask must be 32 bit wide · aa8b187e
    Guenter Roeck authored
    Coverity reports:
    
    result_independent_of_operands: data->features & (65536UL /* 1UL << 16 */)
    is always 0 regardless of the values of its operands. This occurs as the
    logical operand of if.
    
    data->features needs to be 32 bit wide since there are more than 16 features.
    
    Fixes: cc18da79 ("hwmon: (it87) Support up to 6 temperature sensors ... ");
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    aa8b187e
it87.c 96.6 KB