Re: [PATCH 04/10] net: wwan: core: init port type string array using enum values

From
Loic Poulain <hidden>
Date
2021-06-08 08:27:42
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:
This array is indexed by port type. Make it self-descriptive by using
the port type enum values as indices in the array initializer.

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