[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000601d39b8e$f58a76f0$e09f64d0$@gmail.com>
Date: Thu, 1 Feb 2018 14:00:40 -0500
From: "Jingoo Han" <jingoohan1@...il.com>
To: "'Andy Shevchenko'" <andy.shevchenko@...il.com>,
"'Niklas Cassel'" <niklas.cassel@...s.com>
Cc: "'Kishon Vijay Abraham I'" <kishon@...com>,
"'Joao Pinto'" <Joao.Pinto@...opsys.com>,
"'Lorenzo Pieralisi'" <lorenzo.pieralisi@....com>,
"'Bjorn Helgaas'" <bhelgaas@...gle.com>,
"'Niklas Cassel'" <niklass@...s.com>, <linux-pci@...r.kernel.org>,
"'Linux Kernel Mailing List'" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] PCI: designware-ep: Return an error when requesting a too large BAR size
On Thursday, February 1, 2018 1:58 PM, Andy Shevchenko wrote:
>
> On Thu, Feb 1, 2018 at 6:11 PM, Niklas Cassel <niklas.cassel@...s.com>
> wrote:
>
> include/linux/sizes.h:
>
> +SZ_4G 0x100000000ULL
>
> > + if (size > 0x100000000ULL) {
>
> #include <linux/sizes.h>
>
> if (size > SZ_4G) {
I like this one for the readability.
Thank you.
Best regards,
Jingoo Han
>
> ?
>
> --
> With Best Regards,
> Andy Shevchenko
Powered by blists - more mailing lists