aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-03-15 09:17:54 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-03-15 09:17:54 -0300
commit689bb69093d7ac9e12ab058ba2611ad5eb9347c3 (patch)
treeabb9131ea54d7c9df78e192b31a0c09635f8acab /drivers/pci
parentperf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records (diff)
parentLinux 5.12-rc3 (diff)
downloadwireguard-linux-689bb69093d7ac9e12ab058ba2611ad5eb9347c3.tar.xz
wireguard-linux-689bb69093d7ac9e12ab058ba2611ad5eb9347c3.zip
Merge remote-tracking branch 'torvalds/master' into perf/urgent
To update kernel headers and check if some need syncing. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/xen-pcifront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/xen-pcifront.c b/drivers/pci/xen-pcifront.c
index c6fe0cfec0f6..2d7502648219 100644
--- a/drivers/pci/xen-pcifront.c
+++ b/drivers/pci/xen-pcifront.c
@@ -26,7 +26,7 @@
#include <xen/platform_pci.h>
#include <asm/xen/swiotlb-xen.h>
-#define INVALID_GRANT_REF (0)
+
#define INVALID_EVTCHN (-1)
struct pci_bus_entry {
@@ -42,7 +42,7 @@ struct pcifront_device {
struct list_head root_buses;
int evtchn;
- int gnt_ref;
+ grant_ref_t gnt_ref;
int irq;