Re: [PATCH 3/3] PCI: designware-ep: Return an error when requesting a too large BAR size

From: Andy Shevchenko
Date: Thu Feb 01 2018 - 13:57:55 EST


On Thu, Feb 1, 2018 at 6:11 PM, Niklas Cassel <niklas.cassel@xxxxxxxx> wrote:

include/linux/sizes.h:

+SZ_4G 0x100000000ULL

> + if (size > 0x100000000ULL) {

#include <linux/sizes.h>

if (size > SZ_4G) {

?

--
With Best Regards,
Andy Shevchenko