Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit db89ed14 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Lorenzo Pieralisi
Browse files

PCI: altera: Fix bool initialization in tlp_read_packet()



Bool variables should be initialized only through true and false
values; update tlp_read_packet() code to comply.

Detected using the Coccinelle tool.

Fixes: eaa6111b ("PCI: altera: Add Altera PCIe host controller driver")
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent 7928b2cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment