Welcome to the new Linux Foundation Forum!

incompatible pointer type [-Werror=incompatible-pointer-types]

How to suppress the below error while compiling kernel

| /home/lem/kernel_silex_migration/tb-lem-release/tb-lem-linux-bsp-adaptation/drivers/net/wireless/bcmdhd/wl_cfg80211.c:8253:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
| wdev->wiphy->reg_notifier = wl_cfg80211_reg_notifier;
| ^
| cc1: some warnings being treated as errors

Sign In or Register to comment.