commit | 7dedd15dd2527055390b9742c87a02556d3180f4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 14 12:31:49 2016 +0300 |
committer | Shaohua Li <shli@fb.com> | Thu Apr 14 09:57:59 2016 -0700 |
tree | 18d258bfbee4dfb7f2240eecf186843acf613535 | |
parent | 5b5b7fd185e997ebc18f76b98b9f4ff148d3f5bb [diff] |
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>