Search Linux Wireless

Re: pull request: mt76 2022-02-23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felix Fietkau <nbd@xxxxxxxx> 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@xxxxxxxxxx

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

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux