Tag: b2a33c172890b231444803b0bb38c25ac5a0f274

[CPUFREQ] arch/x86/kernel/cpu/cpufreq: Fix unsigned return type

Author: Julia Lawall <julia@diku.dk> In each case, the function has an unsigned return type, but returns a negative constant to indicate an error condition. Each function is only called once. For nforce2_detect_chipset, the result is only compared to 0, and for longrun_determine_freqs, the result is stored in a variable of type (signed) int. Thus, for …

Continue reading