linux/drivers/cpufreq
Dave Jones bc7b26fd7c [CPUFREQ] Check return value of cpufreq_cpu_get in cpufreq_stats
This fixes an issue found in drivers/cpufreq/cpufreq_stats.c by Coverity.

Error reported:
CID: 2642
Checker: NULL_RETURNS (help)
File: /export2/p4-coverity/mc2/linux26/drivers/cpufreq/cpufreq_stats.c
Function: cpufreq_stats_create_table
Description: Dereferencing NULL value "data"

Patch description:
 The return of cpufreq_cpu_get can be NULL, check return code and return
 -EINVAL if it is NULL.

Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
2005-10-27 16:02:06 -07:00
..
cpufreq_conservative.c [CPUFREQ] ondemand,conservative governor idle_tick clean-up 2005-05-31 19:03:49 -07:00
cpufreq_ondemand.c [CPUFREQ] Avoid the ondemand cpufreq governor to use a too high frequency for stats. 2005-09-20 12:39:35 -07:00
cpufreq_performance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpufreq_powersave.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpufreq_stats.c [CPUFREQ] Check return value of cpufreq_cpu_get in cpufreq_stats 2005-10-27 16:02:06 -07:00
cpufreq_userspace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpufreq.c [CPUFREQ] kzalloc conversions for cpufreq core. 2005-10-20 15:17:43 -07:00
freq_table.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [CPUFREQ] Conservative cpufreq governer 2005-05-31 19:03:47 -07:00
Makefile [CPUFREQ] Conservative cpufreq governer 2005-05-31 19:03:47 -07:00