summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-19 14:34:08 +0100
committerJens Axboe <axboe@fb.com>2016-09-19 08:19:40 -0600
commit60658e0dc1df058607990278fdf9d831e0c2c71a (patch)
tree8518edd7779ec1bec41d674f77956672edf37989 /drivers/pinctrl
parent5c64a8df0ca88c79c9cb74674c2481e5f7ede511 (diff)
downloadop-kernel-dev-60658e0dc1df058607990278fdf9d831e0c2c71a.zip
op-kernel-dev-60658e0dc1df058607990278fdf9d831e0c2c71a.tar.gz
sbitmap: initialize weight to zero
Variable weight is not being initialized to zero before it is used to compute the weight sum. Ensure it is initialized to zero. Found with static analysis with cppcheck: [lib/sbitmap.c:177]: (error) Uninitialized variable: weight Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud