Message ID | e7f282ef-7dce-7d65-ae15-d26fb8fb6773@nbd.name (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
Series | pull request: mt76 2022-02-23 | expand |
Felix Fietkau <nbd@nbd.name> writes: > here's my second pull request for 5.18 > > - Felix > > The following changes since commit a0061be4e54b52e5e4ff179c3f817107ddbb2830: > > rtw88: change rtw_info() to proper message level (2022-02-22 17:31:13 +0200) > > are available in the Git repository at: > > https://github.com/nbd168/wireless tags/mt76-for-kvalo-2022-02-23 > > for you to fetch changes up to f8629a7a5772747b6aaf4e672f7b9729209e34a5: > > mt76: mt7915: simplify conditional (2022-02-23 14:53:00 +0100) > > ---------------------------------------------------------------- > mt76 patches for 5.18 > > - bugfixes > - mt7915 thermal management improvements > - SAR support for more mt76 drivers > - mt7986 wmac support on mt7915 > > ---------------------------------------------------------------- Please switch to use my new email address: kvalo@kernel.org This has new warnings with GCC 11.1: drivers/net/wireless/mediatek/mt76/mt7915/soc.c: In function 'mt7986_wmac_gpio_setup': drivers/net/wireless/mediatek/mt76/mt7915/soc.c:197:19: error: implicit declaration of function 'devm_pinctrl_get'; did you mean 'of_pinctrl_get'? [-Werror=implicit-function-declaration] 197 | pinctrl = devm_pinctrl_get(dev->mt76.dev); | ^~~~~~~~~~~~~~~~ | of_pinctrl_get drivers/net/wireless/mediatek/mt76/mt7915/soc.c:197:17: error: assignment to 'struct pinctrl *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 197 | pinctrl = devm_pinctrl_get(dev->mt76.dev); | ^ drivers/net/wireless/mediatek/mt76/mt7915/soc.c:201:25: error: implicit declaration of function 'pinctrl_lookup_state' [-Werror=implicit-function-declaration] 201 | state = pinctrl_lookup_state(pinctrl, "default"); | ^~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/mediatek/mt76/mt7915/soc.c:201:23: error: assignment to 'struct pinctrl_state *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 201 | state = pinctrl_lookup_state(pinctrl, "default"); | ^ drivers/net/wireless/mediatek/mt76/mt7915/soc.c:206:23: error: assignment to 'struct pinctrl_state *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 206 | state = pinctrl_lookup_state(pinctrl, "dbdc"); | ^ drivers/net/wireless/mediatek/mt76/mt7915/soc.c:212:15: error: implicit declaration of function 'pinctrl_select_state' [-Werror=implicit-function-declaration] 212 | ret = pinctrl_select_state(pinctrl, state); | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors