diff options
author | 2010-08-19 17:04:25 +0530 | |
---|---|---|
committer | 2010-11-18 18:38:28 +0530 | |
commit | 53d454a170e86594af1d27be820e678a582af751 (patch) | |
tree | 437b09d173aa8ee0479ba7c8e7e04875fbdafb13 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | spi: davinci: simplify calculation of edma acount value (diff) | |
download | wireguard-linux-53d454a170e86594af1d27be820e678a582af751.tar.xz wireguard-linux-53d454a170e86594af1d27be820e678a582af751.zip |
spi: davinci: check for NULL buffer pointer before using it
In the davinci_spi_{tx|rx}_u{8|16}() functions, check for
buffer pointer being valid before using it. While providing
for better error checking, this change will help simplify
code in the caller.
Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions