Message ID | 003c01cdbca9$e8c2d530$ba487f90$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wednesday, November 07, 2012 2:37 PM Jingoo Han wrote > > Fixed build warning as below: > > arch/arm/mm/cache-l2x0.c:37:12: warning: 'l2_wt_override' defined but not used [-Wunused-variable] Sorry, this error message is wrong. I made a mistake. I will fix the error message and send v2 patch. Best regards, Jingoo Han > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> > --- > drivers/gpu/drm/drm_pci.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c > index ba33144..754bc96 100644 > --- a/drivers/gpu/drm/drm_pci.c > +++ b/drivers/gpu/drm/drm_pci.c > @@ -470,7 +470,7 @@ int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask) > { > struct pci_dev *root; > int pos; > - u32 lnkcap, lnkcap2; > + u32 lnkcap = 0, lnkcap2 = 0; > > *mask = 0; > if (!dev->pdev) > -- > 1.7.1
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index ba33144..754bc96 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c @@ -470,7 +470,7 @@ int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask) { struct pci_dev *root; int pos; - u32 lnkcap, lnkcap2; + u32 lnkcap = 0, lnkcap2 = 0; *mask = 0; if (!dev->pdev)
Fixed build warning as below: arch/arm/mm/cache-l2x0.c:37:12: warning: 'l2_wt_override' defined but not used [-Wunused-variable] Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/gpu/drm/drm_pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)