linux-cpupower-5.8-rc1
This cpupower for update for Linux 5.8-rc1 consists of a single patch to fix coccicheck unneeded semicolon warning. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEPZKym/RZuOCGeA/kCwJExA0NQxwFAl7IWkMACgkQCwJExA0N QxzstRAAiRJ7Nhy3uPxJSI6s5+bsXZfJQ2BK7ox3QbWsuq8yAe/Kr9RCHR/8MQz+ ZmXzu0ptxbLubrU2ikUj58sng+FtW2Mx4MwQRw7to35RzceVR6A5X4f3MYWEoIFY JLTrG7dFgqITvuEFYNF6Bp/EuEGYMF4sBSP1MKz/eSaPJnYFk2whwoUHl1ztpTMV H/RdFlbHCGErw1cEkZ0acT9NZcX85eWDUUnZ3P4zNBxso8CV7/YleJiRfsI5lQPX 884+23bgAWgM+DcpfAVuSXxtvY24F2VjUuyMQN/jlScpO/EjIuLSyqMMfgvdZVEB dJxUfPAjbabSsAj5YQuKgSqtg0r4TbZK6+WR3RUf3Y89Q4gGqkrV7ZHnY83IutGY bzZEjgoDeSOvA2pGqmOxZ+besKOp/j8gIXLpt09VpEtllzILS8lsFhw4jAx854Cc KcGfOY670lFAH/Wi0FGCv7MeWKFPwegvlLAFH8BJvow4lTPDKgV3SyTpdFvhDF/J 51Kt1DF0JusVHwVTUfRBxFDaWXqFbW7OEk46+b1FAreQLD5Ubm2D9G/xSw53cXmA QiUHEIgF/Mfwp8D84bT6c8kvmehREJQSjTQ72pZr1FsC/J7FX9eTn9RozbgDJ5F4 mSIB205FGeK9Q7jxDCAeBYlRMON5DllY1iAEhzmJ1dbVaVwCZaM= =cYtw -----END PGP SIGNATURE----- Merge tag 'linux-cpupower-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux Pull cpupower utility updates for v5.8-rc1 from Shuah Khan: "This cpupower update for Linux 5.8-rc1 consists of a single patch to fix coccicheck unneeded semicolon warning." * tag 'linux-cpupower-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux: cpupower: Remove unneeded semicolon
This commit is contained in:
commit
5ed909b368
|
@ -62,7 +62,7 @@ int cmd_info(int argc, char **argv)
|
||||||
default:
|
default:
|
||||||
print_wrong_arg_exit();
|
print_wrong_arg_exit();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!params.params)
|
if (!params.params)
|
||||||
params.params = 0x7;
|
params.params = 0x7;
|
||||||
|
|
|
@ -72,7 +72,7 @@ int cmd_set(int argc, char **argv)
|
||||||
default:
|
default:
|
||||||
print_wrong_arg_exit();
|
print_wrong_arg_exit();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!params.params)
|
if (!params.params)
|
||||||
print_wrong_arg_exit();
|
print_wrong_arg_exit();
|
||||||
|
|
|
@ -117,7 +117,7 @@ static int amd_fam14h_get_pci_info(struct cstate *state,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ static int cpuidle_start(void)
|
||||||
dprint("CPU %d - State: %d - Val: %llu\n",
|
dprint("CPU %d - State: %d - Val: %llu\n",
|
||||||
cpu, state, previous_count[cpu][state]);
|
cpu, state, previous_count[cpu][state]);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ static int cpuidle_stop(void)
|
||||||
dprint("CPU %d - State: %d - Val: %llu\n",
|
dprint("CPU %d - State: %d - Val: %llu\n",
|
||||||
cpu, state, previous_count[cpu][state]);
|
cpu, state, previous_count[cpu][state]);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ static struct cpuidle_monitor *cpuidle_register(void)
|
||||||
cpuidle_cstates[num].id = num;
|
cpuidle_cstates[num].id = num;
|
||||||
cpuidle_cstates[num].get_count_percent =
|
cpuidle_cstates[num].get_count_percent =
|
||||||
cpuidle_get_count_percent;
|
cpuidle_get_count_percent;
|
||||||
};
|
}
|
||||||
|
|
||||||
/* Free this at program termination */
|
/* Free this at program termination */
|
||||||
previous_count = malloc(sizeof(long long *) * cpu_count);
|
previous_count = malloc(sizeof(long long *) * cpu_count);
|
||||||
|
|
|
@ -79,7 +79,7 @@ static int hsw_ext_get_count(enum intel_hsw_ext_id id, unsigned long long *val,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
if (read_msr(cpu, msr, val))
|
if (read_msr(cpu, msr, val))
|
||||||
return -1;
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -91,7 +91,7 @@ static int nhm_get_count(enum intel_nhm_id id, unsigned long long *val,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
if (read_msr(cpu, msr, val))
|
if (read_msr(cpu, msr, val))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ static int snb_get_count(enum intel_snb_id id, unsigned long long *val,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
if (read_msr(cpu, msr, val))
|
if (read_msr(cpu, msr, val))
|
||||||
return -1;
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue