aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <[email protected]>2015-11-26 08:35:43 +0100
committerDavid S. Miller <[email protected]>2015-11-30 14:52:51 -0500
commit22407e13172e9d5257ad3548a4f69bff8ed20111 (patch)
tree9cd77062ee24d05bd9d7222783e04af4b29adea8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent61adcc03bd010a494664dc46049dc8da245bc277 (diff)
stmmac: dwmac-sti: fix st,tx-retime-src check
In case of the st,tx-retime-src is missing from device-tree (it's an optional field) the driver will invoke the strcasecmp to check which clock has been selected and this is a bug; the else condition is needed. In the dwmac_setup, the "rs" variable, passed to the strcasecmp, was not initialized and the compiler, depending on the options adopted, could take it in some different part of the stack generating the hang in such configuration. Signed-off-by: Giuseppe Cavallaro <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions