summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-05-28 12:13:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-05-28 12:19:10 +0300
commit696beef77521d3e418a2780859d1522c3c39d9b5 (patch)
tree0c81a27ef1579ef4754aa8a31aeda6a141c475dc /tools/perf/scripts/python/export-to-sqlite.py
parent07d5136f9bf1fa6abe70a1f88b04c1216fbf87a2 (diff)
downloadlinux-696beef77521d3e418a2780859d1522c3c39d9b5.tar.xz
pinctrl: mediatek: move bit assignment
The bit needs offset to be defined which happens some lines below. Looks like a bug. The kernel test robot complains: drivers/pinctrl/mediatek/pinctrl-mtk-common.c:137:12: warning: variable 'offset' is uninitialized when used here [-Wuninitialized] bit = BIT(offset & pctl->devdata->mode_mask); ^~~~~~ Fix it up by reverting to what was done before. Cc: Fabien Parent <fparent@baylibre.com> Cc: Sean Wang <sean.wang@kernel.org> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Mattijs Korpershoek <mkorpershoek@baylibre.com> Cc: linux-mediatek@lists.infradead.org Fixes: 9f940d8ecf92 ("pinctrl: mediatek: don't hardcode mode encoding in common code") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions