summaryrefslogtreecommitdiff
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
authorCan Guo <cang@codeaurora.org>2017-05-11 08:46:03 +0800
committerCan Guo <cang@codeaurora.org>2017-05-12 08:20:54 +0800
commit6a4c4fcfe2066f86eef3650e0468402cb71b3d70 (patch)
tree746ce9eca013c18729ac3f9beb641b5bbcab8f94 /kernel/time/timer.c
parentd70b0a18f6e507fdfde4c29a341f0ffe586a5d23 (diff)
scsi: ufs: Initialize cmd_id and check lrbp->cmd NULL
In commit d70b0a18f6e5 ("scsi: ufs: add command logging infrastructure"), cmd_id is not initialized and lrbp->cmd is explicitly dereferenced without checking NULL. Fix them by initializing cmd_id with an initial value 0 and checking NULL for lrbp->cmd. Change-Id: I6f66066adc8d53e3615df50ac49dd313f6d7ea8e Signed-off-by: Can Guo <cang@codeaurora.org>
Diffstat (limited to 'kernel/time/timer.c')
0 files changed, 0 insertions, 0 deletions