summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2025-03-12 12:52:51 +0300
committerDavid S. Miller <davem@davemloft.net>2025-03-19 12:57:37 +0300
commit3178d2b048365fe2c078cd53f85f2abf1487733b (patch)
tree730c91319266d5994452fcbf31590f3661acf348 /tools/perf/scripts/python/exported-sql-viewer.py
parent3614bf90130d60f191a5fe218d04f6251c678e13 (diff)
downloadlinux-3178d2b048365fe2c078cd53f85f2abf1487733b.tar.xz
phy: fix xa_alloc_cyclic() error handling
xa_alloc_cyclic() can return 1, which isn't an error. To prevent situation when the caller of this function will treat it as no error do a check only for negative here. Fixes: 384968786909 ("net: phy: Introduce ethernet link topology representation") Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions