Re: [PATCH] agp/intel: Move intel_fake_agp_sizes into #ifdef block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 23, 2017 at 10:06:15AM +0200, Joonas Lahtinen wrote:
> On la, 2017-01-21 at 18:22 +0000, Chris Wilson wrote:
> > Move the intel_fake_agp_sizes array into the same #ifdef block as it is
> > used to avoid instantiation when not used, and so triggering a compiler
> > warning
> > 
> > drivers/char/agp/intel-gtt.c:335:42: warning: ‘intel_fake_agp_sizes’
> > defined but not used [-Wunused-const-variable=]
> > 
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Applied, thanks for the review.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux