Re: [RFC 1/2] vhost: IFC VF hardware operation layer

From: Stephen Hemminger
Date: Tue Oct 15 2019 - 22:05:12 EST


On Wed, 16 Oct 2019 09:03:17 +0800
Zhu Lingshan <lingshan.zhu@xxxxxxxxx> wrote:

> +int ifcvf_init_hw(struct ifcvf_hw *hw, struct pci_dev *dev)
> +{
> + int ret;
> + u8 pos;
> + struct virtio_pci_cap cap;
> + u32 i;
> + u16 notify_off;

For network code, the preferred declaration style is
reverse christmas tree.