aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorStephen Neuendorffer <[email protected]>2008-04-03 03:52:13 +1100
committerJosh Boyer <[email protected]>2008-04-02 20:29:32 -0500
commit19a74263f49dce2b96e2213f7f4c029cedbbf0ce (patch)
tree07c4a2b28b8fcb452cc15ef19d065987bd4dd09c /tools/perf/scripts/python/bin
parent5f91925c89c39e77c170de9366ffa5144a8dd8ec (diff)
[POWERPC] of_serial: Fix possible null dereference.
The of_serial driver queries the current-speed property and attempts to use it to register the custom_divisor property of the uart_port. However, if current-speed is not set, then this code will dereference a bad pointer. The fix is to only set custom_divisor when a current-speed property appears in the device tree. Signed-off-by: Stephen Neuendorffer <[email protected]> Signed-off-by: John Linn <[email protected]> Signed-off-by: Josh Boyer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions