Skip to content

xdma: fix uninitialized variable reference#365

Open
dsseng wants to merge 1 commit intoXilinx:masterfrom
dsseng:fix-uninitialized-engine
Open

xdma: fix uninitialized variable reference#365
dsseng wants to merge 1 commit intoXilinx:masterfrom
dsseng:fix-uninitialized-engine

Conversation

@dsseng
Copy link

@dsseng dsseng commented Dec 6, 2025

Fixes an issue found by Clang SCA. This should not really affect anything given the bool write is valid (1 or 0), but ensures the driver compiles without warnings

The subsequent conditional implies the variable should default to NULL,
being set to non-NULL values when needed

The subsequent conditional implies the variable should default to NULL,
being set to non-NULL values when needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant