diff options
author | Viresh Kumar <[email protected]> | 2013-08-06 22:53:13 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-08-10 03:24:48 +0200 |
commit | 3de9bdeb28638e164d1f0eb38dd68e3f5d2ac95c (patch) | |
tree | efe5c314af79f28840a2a31eb2e2ca992c0258ae /drivers/message/fusion/lsi/mpi_raid.h | |
parent | adc97d6a735dbb1e94cb4f1bf0b55f258b349941 (diff) |
cpufreq: improve error checking on return values of __cpufreq_governor()
The __cpufreq_governor() function can fail in rare cases especially
if there are bugs in cpufreq drivers. Thus we must stop processing
as soon as this routine fails, otherwise it may result in undefined
behavior.
This patch adds error checking code whenever this routine is called
from any place.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions