diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-19 13:34:25 +0200 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 14:08:28 +0100 |
commit | 53d454a170e86594af1d27be820e678a582af751 (patch) | |
tree | 437b09d173aa8ee0479ba7c8e7e04875fbdafb13 /drivers/zorro | |
parent | spi: davinci: simplify calculation of edma acount value (diff) | |
download | linux-53d454a170e86594af1d27be820e678a582af751.tar.xz 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 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions