Re: [PATCH V2 1/2] efi/fb: Simplify fixup code to prefer struct resource

2018-06-22 Thread Bartlomiej Zolnierkiewicz
On Wednesday, June 13, 2018 05:42:11 PM Ard Biesheuvel wrote: > On 18 May 2018 at 16:17, Sinan Kaya wrote: > > Get rid of base and size variables in favor of a struct resource. > > The conditional for checking window can be replaced with > > resource_contains(). > > > > Signed-off-by: Sinan Kaya

Re: [PATCH V2 1/2] efi/fb: Simplify fixup code to prefer struct resource

2018-06-14 Thread Ard Biesheuvel
On 18 May 2018 at 16:17, Sinan Kaya wrote: > Get rid of base and size variables in favor of a struct resource. > The conditional for checking window can be replaced with > resource_contains(). > > Signed-off-by: Sinan Kaya Reviewed-by: Ard Biesheuvel > --- > drivers/video/fbdev/efifb.c | 17 +

[PATCH V2 1/2] efi/fb: Simplify fixup code to prefer struct resource

2018-05-21 Thread Sinan Kaya
Get rid of base and size variables in favor of a struct resource. The conditional for checking window can be replaced with resource_contains(). Signed-off-by: Sinan Kaya --- drivers/video/fbdev/efifb.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers