summaryrefslogtreecommitdiff
path: root/src/arch/x86/rdrand.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-01-23 10:32:33 +1100
committerPatrick Georgi <pgeorgi@google.com>2020-01-30 11:46:08 +0000
commit7e2625587d11209bdecbeffda3267b2336477b78 (patch)
treed64c53bb77bc4f2643e0fd8f898f08b87f09ab62 /src/arch/x86/rdrand.c
parent71299c274b09373e8776de55f245754cb48dbdaa (diff)
x86/acpi_device: Allow acpi_device_add_power_res params as optional
Allow for making both reset_gpio && enable_gpio as optional in the params by fixing a potential NULL deref and defaulting to zero values. BUG=b:147026979 BRANCH=none TEST=builds Change-Id: I8053d7a080dfed898400c0994bcea492c826fe3d Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38522 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/arch/x86/rdrand.c')
0 files changed, 0 insertions, 0 deletions