summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-07-25 09:50:26 +0300
committerTom Rini <trini@konsulko.com>2023-08-08 17:05:43 -0400
commit57175285774751ca751d3d5e9f045d6af95ea43b (patch)
tree38e95bebdc8ab92e59b3b75d2ff5e9d5f7eb8aee /drivers/ddr/microchip/ddr2.c
parent1ded89e78bca4c43db8e46841c589366202cb2b0 (diff)
cmd: Fix a size parameter in test_readonly()
The parentheses are in the wrong place so this passes the number of bytes to write as "sizeof(index_0) != TPM_SUCCESS" when just "sizeof(index_0)" was intended. (1 byte vs 4 bytes). Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions