summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2021-05-29 14:05:55 +0300
committerJakub Kicinski <kuba@kernel.org>2021-05-31 00:24:38 +0300
commit546d6bad18c04926c4d0eba4222654a9a60ea830 (patch)
tree3226c42f9b2beb73d39d20324753a724b6352fb5 /tools/perf/scripts/python/bin/stackcollapse-record
parent8b97f36aa5ab1dff6087392c03c28266a466fe79 (diff)
downloadlinux-546d6bad18c04926c4d0eba4222654a9a60ea830.tar.xz
net: phy: fix yt8511 clang uninitialized variable warning
clang doesn't preinitialize variables. If phy_select_page failed and returned an error, phy_restore_page would be called with `ret` being uninitialized. Even though phy_restore_page won't use `ret` in this scenario, initialize `ret` to silence the warning. Fixes: 48e8c6f1612b ("net: phy: add driver for Motorcomm yt8511 phy") Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Peter Geis <pgwipeout@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions