Open
Description
Hello, I'm trying to compile but it fails:
drivers/mmc/rockchip_dw_mmc.c: In function 'board_mmc_dm_reinit':
drivers/mmc/rockchip_dw_mmc.c:45:22: error: the comparison will always evaluate as 'true' for the address of 'clk' will never be NULL [-Werror=address]
45 | if (!priv || !&priv->clk)
| ^
drivers/mmc/rockchip_dw_mmc.c:32:20: note: 'clk' declared here
32 | struct clk clk;
| ^~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:280: drivers/mmc/rockchip_dw_mmc.o] Error 1
Im using archlinuxarm
Metadata
Metadata
Assignees
Labels
No labels