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
..
2005-09-09 14:03:48 -07:00
2005-09-10 10:06:35 -07:00
2005-09-09 14:03:48 -07:00
2005-09-13 08:22:27 -07:00
2005-09-17 11:50:03 -07:00
2005-09-13 01:32:37 +02:00
2005-09-10 10:06:38 -07:00
2005-09-16 11:54:13 -07:00
2005-09-11 19:15:07 -07:00
2005-10-27 16:02:06 -07:00
2005-07-06 13:54:09 -07:00
2005-06-20 15:15:32 -07:00
2005-06-20 15:15:32 -07:00
2005-07-30 09:47:53 -05:00
2005-09-17 11:50:02 -07:00
2005-09-17 11:50:02 -07:00
2005-09-14 22:54:45 +01:00
2005-09-17 11:50:03 -07:00
2005-09-12 20:02:18 -07:00
2005-09-11 10:16:07 -07:00
2005-09-13 08:22:31 -07:00
2005-09-17 15:34:30 -07:00
2005-09-05 00:06:16 -07:00
2005-06-25 16:24:56 -07:00
2005-09-17 11:49:58 -07:00
2005-09-13 08:22:32 -07:00
2005-09-19 12:48:22 -05:00
2005-09-11 10:28:00 +01:00
2005-09-10 10:06:25 -07:00
2005-09-12 20:36:19 +01:00
2005-09-17 11:49:58 -07:00
2005-09-19 15:39:32 -07:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:20 -07:00
2005-09-10 10:06:30 -07:00
2005-09-10 10:06:38 -07:00
2005-09-17 11:50:03 -07:00
2005-09-14 13:05:17 -07:00
2005-09-08 01:45:47 -04:00
2005-09-20 08:50:49 -07:00
2005-09-13 08:22:29 -07:00
2005-09-20 08:50:49 -07:00
2005-09-17 11:50:00 -07:00
2005-06-20 15:15:35 -07:00
2005-06-21 18:46:32 -07:00
2005-09-13 08:22:29 -07:00
2005-09-10 10:06:39 -07:00
2005-09-12 12:23:54 -07:00
2005-09-17 11:50:00 -07:00
2005-09-12 12:35:17 -07:00
2005-06-20 15:15:35 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00