summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-policy-smq.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-04-14 12:31:49 +0300
committerShaohua Li <shli@fb.com>2016-04-14 19:57:59 +0300
commit7dedd15dd2527055390b9742c87a02556d3180f4 (patch)
tree18d258bfbee4dfb7f2240eecf186843acf613535 /drivers/md/dm-cache-policy-smq.c
parent5b5b7fd185e997ebc18f76b98b9f4ff148d3f5bb (diff)
downloadlinux-7dedd15dd2527055390b9742c87a02556d3180f4.tar.xz
md/raid0: fix uninitialized variable bug
If this function fails the callers expect that *private_conf is set to an ERR_PTR() but that isn't true for the first error path where we can't allocate "conf". It leads to some uninitialized variable bugs. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions