summaryrefslogtreecommitdiff
path: root/src/include/device/pci_rom.h
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/include/device/pci_rom.h
parent5ef4220693aa727094b7cd9cadfaab51a13ed3e9 (diff)
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/include/device/pci_rom.h')
0 files changed, 0 insertions, 0 deletions