Re: [PATCH] iommu/intel: remove an unused variable "length"

2019-06-18 Thread Joerg Roedel
On Mon, Jun 17, 2019 at 09:20:27AM -0400, Qian Cai wrote: > The linux-next commit "iommu/vt-d: Duplicate iommu_resv_region objects > per device list" [1] left out an unused variable, > > drivers/iommu/intel-iommu.c: In function 'dmar_parse_one_rmrr': > drivers/iommu/intel-iommu.c:4014:9: warning:

Re: [PATCH] iommu/intel: remove an unused variable "length"

2019-06-17 Thread Lu Baolu
Hi, On 6/17/19 9:20 PM, Qian Cai wrote: The linux-next commit "iommu/vt-d: Duplicate iommu_resv_region objects per device list" [1] left out an unused variable, drivers/iommu/intel-iommu.c: In function 'dmar_parse_one_rmrr': drivers/iommu/intel-iommu.c:4014:9: warning: variable 'length' set but

Re: [PATCH] iommu/intel: remove an unused variable "length"

2019-06-17 Thread Auger Eric
Hi Qian, On 6/17/19 3:20 PM, Qian Cai wrote: > The linux-next commit "iommu/vt-d: Duplicate iommu_resv_region objects > per device list" [1] left out an unused variable, > > drivers/iommu/intel-iommu.c: In function 'dmar_parse_one_rmrr': > drivers/iommu/intel-iommu.c:4014:9: warning: variable 'le

[PATCH] iommu/intel: remove an unused variable "length"

2019-06-17 Thread Qian Cai
The linux-next commit "iommu/vt-d: Duplicate iommu_resv_region objects per device list" [1] left out an unused variable, drivers/iommu/intel-iommu.c: In function 'dmar_parse_one_rmrr': drivers/iommu/intel-iommu.c:4014:9: warning: variable 'length' set but not used [-Wunused-but-set-variable] [1]