Re: [net-next v7 4/4] net: wwan: t7xx: Add fastboot WWAN port

Jiri Pirko
2024-02-01T16:12:33Z

Thu, Feb 01, 2024 at 04:13:40PM CET, songjinjian@hotmail.com wrote:
>From: Jinjian Song <jinjian.song@fibocom.com>

[...]

>+static void t7xx_port_wwan_create(struct t7xx_port *port)
>+{
>+ const struct t7xx_port_conf *port_conf = port->port_conf;
>+ unsigned int header_len = sizeof(struct ccci_header), mtu;
>+ struct wwan_port_caps caps;
>+
>+ if (!port->wwan.wwan_port) {
>+ mtu = t7xx_get_port_mtu(port);
>+ caps.frag_len = mtu - header_len;
>+ caps.headroom_len = header_len;
>+ port->wwan.wwan_port = wwan_create_port(port->dev, port_conf->port_type,
>+ &wwan_ops, &caps, port);
>+ if (IS_ERR(port->wwan.wwan_port))
>+ dev_err(port->dev, "Unable to create WWWAN port %s", port_conf->name);

To many "W"s.

>+ }
>+} …