coreboot-kgpe-d16/src/mainboard/amd
Jacob Garber 42660cdda7 nb/amd/pi, mb/amd/bettong: Fix null pointer checks
The dev pointers were being dereferenced before the null
check. Move the checks so they are done earlier.

Found-by: Coverity Scan, CID 1241851 (REVERSE_INULL)
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: Ie578787c3c26a1f3acb4567c135486667e88a888
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32022
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2019-04-08 14:12:59 +00:00
..
bettong nb/amd/pi, mb/amd/bettong: Fix null pointer checks 2019-04-08 14:12:59 +00:00
bimini_fam10 src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
db-ft3b-lc Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
gardenia src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
inagua src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
lamar src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
mahogany_fam10 src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
olivehill src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
olivehillplus Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
parmer src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
persimmon src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
samba
serengeti_cheetah_fam10 src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
south_station src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
thatcher src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
tilapia_fam10 src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
torpedo Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
union_station src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
Kconfig
Kconfig.name