Commit 4e2b03cd authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix signed comparison warning in powernow-k7

parent b52983ab
...@@ -162,9 +162,8 @@ static int check_powernow(void) ...@@ -162,9 +162,8 @@ static int check_powernow(void)
static int get_ranges (unsigned char *pst) static int get_ranges (unsigned char *pst)
{ {
int j; unsigned int j, speed;
u8 fid, vid; u8 fid, vid;
unsigned int speed;
powernow_table = kmalloc((sizeof(struct cpufreq_frequency_table) * (number_scales + 1)), GFP_KERNEL); powernow_table = kmalloc((sizeof(struct cpufreq_frequency_table) * (number_scales + 1)), GFP_KERNEL);
if (!powernow_table) if (!powernow_table)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment