commit | c1fe1f96e30d31cc99826f19a058d9e9eef87712 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Wed Mar 25 16:23:45 2015 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Mar 31 13:02:36 2015 +1100 |
tree | 61843d26b8430e6e82c057decc0817bdcf39e553 | |
parent | 0e6c9122a6ec96d19f1db61e9750287d86b6829c [diff] |
PCI: Index IOV resources in the conventional style Most of PCI uses "res = &dev->resource[i]", not "res = dev->resource + i". Use that style in iov.c also. No functional change. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Wei Yang <weiyang@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>