aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-01-06 21:09:12 +0530
committerRafael J. Wysocki <[email protected]>2015-01-23 23:06:44 +0100
commitc960f9b22d63934401949fb20d10ec4e69b535b2 (patch)
tree070d80ff5d0d50cb3297f254f6d60fd2317238e2 /lib/test-string_helpers.c
parenta685c6d023c77303ca8700f37bf06eb85ffbf06a (diff)
cpufreq: stats: time_in_state can't be NULL in cpufreq_stats_update()
'time_in_state' can't be NULL if 'stats' is valid. These are allocated together and only if time_in_state is allocated successfully, we update policy->stats. Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions