Re: [PATCH 3/4] Hyper-V vPCI: Add vPCI version protocol negotiation

2017-05-19 Thread Dan Carpenter
On Thu, May 18, 2017 at 12:14:29PM -0700, Jork Loeser wrote: > static int hv_pci_protocol_negotiation(struct hv_device *hdev) > { > + size_t i; Could you just use "int i". I know some static checkers complain but those tools are dumb. I just fixed a couple bugs two days ago where people we

[PATCH 3/4] Hyper-V vPCI: Add vPCI version protocol negotiation

2017-05-18 Thread Jork Loeser
From: Jork Loeser Hyper-V vPCI offers different protocol versions. This patch creates the the infra for negotiating the one to use. Signed-off-by: Jork Loeser --- drivers/pci/host/pci-hyperv.c | 72 +--- 1 files changed, 52 insertions(+), 20 deletions(-)