# Re: \[PATCH 03/10\] net: wwan: make WWAN\_PORT\_MAX meaning less surprised

- From: Loic Poulain \<hidden\>
- Date: 2021-06-08 08:26:19 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/06/11204850
- Thread: https://ratatoskr.run/netdev/2021/06/11204835/t.md

```text
On Tue, 8 Jun 2021 at 06:02, Sergey Ryazanov [ref] wrote:
>
> It is quite unusual when some value can not be equal to a defined range
> max value. Also most subsystems defines FOO_TYPE_MAX as a maximum valid
> value. So turn the WAN_PORT_MAX meaning from the number of supported
> port types to the maximum valid port type.
>
> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

Reviewed-by: Loic Poulain <redacted>
```
