Re: [PATCH 03/10] net: wwan: make WWAN_PORT_MAX meaning less surprised

From
Loic Poulain <hidden>
Date
2021-06-08 08:26:19
Also in
linux-wireless
Reply to
Sergey Ryazanov, 2021-06-08
On Tue, 8 Jun 2021 at 06:02, Sergey Ryazanov [off-list 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>
Thread (17 messages) 17 messages, 3 authors, last reply 2021-06-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help