About patch 15, it seems your terminal is set to see tabs as 4 spaces.
Where tabs are used, the mini-os source code assumes 8 spaces. Avoid
using tabs, just use spaces :)
And, avoid
for (list = dev_list; list->next != NULL; list = list->next);
better write
for (list = dev_list; list->next != NULL; list = list->next)
;
to make it explicit that the loop is empty.
Also,
*ip = malloc(strlen(ldev->ip) + 1);
strncpy(*ip, ldev->ip, strlen(ldev->ip) + 1);
can be a mere *ip = strdup(ldev->ip), can't it?
Apart from that,
Reviewed-by: Samuel Thibault <[email protected]>
Samuel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel