summaryrefslogtreecommitdiff
path: root/src/device/pcix_device.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-27 23:46:46 +0100
committerRudolf Marek <r.marek@assembler.cz>2014-02-01 18:38:32 +0100
commitdec919890e2073d83679b0b0fcafa2114f33b826 (patch)
treeaaab400f807212c957fdf3718ab7b62b3d50c356 /src/device/pcix_device.c
parent5ef4220693aa727094b7cd9cadfaab51a13ed3e9 (diff)
downloadcoreboot-dec919890e2073d83679b0b0fcafa2114f33b826.tar.xz
smbus: Add guards to avoid calling NULL.
Many of SMBus functions are unavailable on many controllers. While calling unavailable function is bad, it shouldn't lead to spectacular crash. Change-Id: I7912f3bbbb438603893223a586dcedf57e8a7e28 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4837 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src/device/pcix_device.c')
0 files changed, 0 insertions, 0 deletions