summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-04-20 18:59:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-05-04 16:20:22 +0300
commit74d77e50f23123938fbb7987eba71310864e6a7c (patch)
treee6fedf5ff64a30738f5b6daf008ec2bf451e29ef /include
parent4e637ac212b63f4b5dd1da626aca34ffcbfd5daa (diff)
downloadlinux-74d77e50f23123938fbb7987eba71310864e6a7c.tar.xz
pinctrl: mediatek: mtk-common: initialize unmask
cppcheck detected an uninitialized variable: [drivers/pinctrl/mediatek/pinctrl-mtk-common.c:897]: (error) Uninitialized variable: unmask unmask should be initialized to zero to ensure unmasking only occurs if a previous mask occurred. The current situation is that the unmask variable could contain any random garbage causing random unexpected unmasking. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions