that would be more flexible at least, however not mixing the error with
a potential bus address still looks cleaner to me.
> I can't find *any* pci_map_single() in the 2.4.4-ac9 tree
> which can fail, BTW.
I assume you mean that no one single caller of pci_map_single is
checking if it failed or not (because all pci_map_single can fail).
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/