Skip to content
Snippets Groups Projects
Commit 67b24970 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: Do sanity test on pirq table before writing


If pirq_routing_table points to NULL, that means U-Boot fails to
generate the table before in create_pirq_routing_table(), so we
test it against NULL before actually writing it.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 05b98ec3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment