diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-19 17:04:25 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 18:38:28 +0530 |
commit | 53d454a170e86594af1d27be820e678a582af751 (patch) | |
tree | 437b09d173aa8ee0479ba7c8e7e04875fbdafb13 /Documentation/networking/ip-sysctl.txt | |
parent | b7ab24a0da96c8fc6d551ea87e82692299df6ac6 (diff) |
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 'Documentation/networking/ip-sysctl.txt')
0 files changed, 0 insertions, 0 deletions