On 20:42 Thu 13 Aug     , Ira Weiny wrote:
> 
>  static void dump_endnode(ib_portid_t * path, char *prompt,
> -                      struct ibnd_node *node, struct ibnd_port *port)
> +                      ibnd_node_t * node, struct ibnd_port *port)
>  {
>       char type[64];
>       if (!show_progress)
>               return;
>  
> -     mad_dump_node_type(type, 64, &(node->node.type), sizeof(int));
> -
> -     printf("%s -> %s %s {%016" PRIx64 "} portnum %d base lid %d-%d\"%s\"\n",
> -            portid2str(path), prompt, type, node->node.guid,
> -            node->node.type == IB_NODE_SWITCH ? 0 : port->port.portnum,
> -            port->port.base_lid,
> -            port->port.base_lid + (1 << port->port.lmc) - 1,
> -            node->node.nodedesc);
> +     mad_dump_node_type(type, 64, &(node->type), sizeof(int)),

',' at end of the statement. I'm fixing this (again :))

Sasha

> +         printf("%s -> %s %s {%016" PRIx64
> +                "} portnum %d base lid %d-%d\"%s\"\n", portid2str(path),
> +                prompt, type, node->guid,
> +                node->type == IB_NODE_SWITCH ? 0 : port->port.portnum,
> +                port->port.base_lid,
> +                port->port.base_lid + (1 << port->port.lmc) - 1,
> +                node->nodedesc);
>  }
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to