summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sunxi
diff options
context:
space:
mode:
authorShawn Guo2017-07-01 05:45:36 +0200
committerLinus Walleij2017-07-31 15:13:09 +0200
commitb962e2cd357f2a529fe14387092401e6552f43d6 (patch)
tree4775ebde47fd442c1cf8329311e8cbd5ada72296 /drivers/pinctrl/sunxi
parentLinux 4.13-rc3 (diff)
downloadkernel-qcow2-linux-b962e2cd357f2a529fe14387092401e6552f43d6.tar.gz
kernel-qcow2-linux-b962e2cd357f2a529fe14387092401e6552f43d6.tar.xz
kernel-qcow2-linux-b962e2cd357f2a529fe14387092401e6552f43d6.zip
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 'drivers/pinctrl/sunxi')
0 files changed, 0 insertions, 0 deletions