Skip to content
Commit 4841158b authored by Pavel Roskin's avatar Pavel Roskin Committed by Thomas Gleixner
Browse files

timer: Avoid reading uninitialized data



timer->expires may be uninitialized, so check timer_pending() before
touching timer->expires to pacify kmemcheck.

Signed-off-by: default avatarPavel Roskin <proski@gnu.org>
LKML-Reference: <20090718204602.5191.360.stgit@mj.roinet.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 78af08d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment