Re: [RFC] pci_dma_set_mask()

Zach Brown (zab@zabbo.net)
Wed, 28 Feb 2001 16:14:50 -0500


> pci_dma_supported has a boolean return, but the kernel norm is to return
> zero on success, and -EFOO on error. I like your proposal with the

*nod* I just followed pci_dma_supported().

> extremely minor nit that I think pci_set_dma_mask should return ENODEV
> or EIO or something on error, and zero on success.

I agree, though I'd like to leave the decision up to people who live and
breathe this stuff.

please feel free to make minor adjustments and submit :)

- z
-
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/