diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-03-09 23:22:19 (GMT) |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-08-30 23:41:43 (GMT) |
commit | 91e630d9ae6de6f740ef7c8176736eb55366833e (patch) | |
tree | 5041057fb7bb3d50805dd0de8c29d0126b337675 /drivers/scsi/NCR_Q720.h | |
parent | 7efb367320f56fc4d549875b6f3a6940018ef2e5 (diff) | |
download | linux-91e630d9ae6de6f740ef7c8176736eb55366833e.tar.xz |
dm log writes: fix check of kthread_run() return value
The kthread_run() function returns either a valid task_struct or
ERR_PTR() value, check for NULL is invalid. This change fixes potential
for oops, e.g. in OOM situation.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/scsi/NCR_Q720.h')
0 files changed, 0 insertions, 0 deletions