Skip to content
Commit 9e36d549 authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

misc: fs_loader: Fix alignment of fs_loader driver



DM_DRIVER_GET will redeclare the fs_loader driver without the correct
alignment. This causes GCC to use the default section alignment of 32
bytes. This in turn creates a gap in the linker list due to the padding
required to achieve the correct alignment, corrupting all further entries.
Use DM_DRIVER_REF instead, which doesn't redeclare anything.

Fixes: 0998a20c ("misc: fs_loader: Add function to get the chosen loader")
Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
parent 75d6a440
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