summaryrefslogtreecommitdiff
path: root/arch/s390/lib
diff options
context:
space:
mode:
authorAugusto Mecking Caringi <augustocaringi@gmail.com>2016-12-30 11:34:08 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-12-31 21:52:07 +0100
commitab51e6ba0059f92036a08e41ba5cc70e77ce02df (patch)
tree4650f44690655920e83125466075295bc725fabd /arch/s390/lib
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
PM / domains: Fix 'may be used uninitialized' build warning
This patch fixes the following gcc warning: drivers/base/power/domain.c: In function ‘genpd_runtime_resume’: drivers/base/power/domain.c:642:14: warning: ‘time_start’ may be used uninitialized in this function [-Wmaybe-uninitialized] elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start) The same problem (in another function in this same file) was fixed in commit d33d5a6c88fc (avoid spurious "may be used uninitialized" warning) Signed-off-by: Augusto Mecking Caringi <augustocaringi@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/s390/lib')
0 files changed, 0 insertions, 0 deletions