diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-07-01 11:45:36 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-07-31 15:13:09 +0200 |
commit | b962e2cd357f2a529fe14387092401e6552f43d6 (patch) | |
tree | 4775ebde47fd442c1cf8329311e8cbd5ada72296 /fs/ubifs | |
parent | 16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff) |
pinctrl: zte: fix dereference of 'data' in zx_set_mux()
It fixes the following Smatch complaint:
drivers/pinctrl/zte/pinctrl-zx.c:76 zx_set_mux()
warn: variable dereferenced before check 'data' (see line 67)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: cbff0c4d27f4 ("pinctrl: add ZTE ZX pinctrl driver support")
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions