Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

test: astlpc: fix compile warning #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_astlpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int mctp_astlpc_mmio_kcs_write(void *data, enum mctp_binding_astlpc_kcs_reg reg,

if (reg == MCTP_ASTLPC_KCS_REG_STATUS)
mmio->kcs[reg] = val & ~0xaU;
else
else if (reg == MCTP_ASTLPC_KCS_REG_DATA)
mmio->kcs[reg] = val;

mctp_prdebug("%s: 0x%hhx to %s", __func__, val,
Expand Down