Re: [PATCH v6 2/5] rust: pci: provide access to PCI Vendor values
From: John Hubbard
Date: Mon Aug 25 2025 - 22:21:03 EST
On 8/25/25 5:47 AM, Danilo Krummrich wrote:
> On Mon Aug 25, 2025 at 2:33 PM CEST, Alexandre Courbot wrote:
...
> So, I think the From impl is not ideal, since we can't limit its visibility. In
> order to improve this, I suggest to use Vendor::new() directly in the macro, and
> make Vendor::new() private. The same goes for Class, I guess.
OK, will do that.
thanks,
--
John Hubbard