[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VcgAYC3nvLv7ueC8CXDdC3=d3tm1RmdxCdH=o6UbQoSMg@mail.gmail.com>
Date: Thu, 4 May 2017 19:44:24 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Christian König <deathsimple@...afone.de>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
dri-devel@...ts.freedesktop.org,
Platform Driver <platform-driver-x86@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/4] PCI: add functionality for resizing resources v3
On Thu, May 4, 2017 at 1:15 PM, Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
> On Thu, May 4, 2017 at 12:23 PM, Christian König
> <deathsimple@...afone.de> wrote:
>> Am 26.04.2017 um 19:00 schrieb Andy Shevchenko:
> static int ...xxx...(...)
> {
> unsigned int i;
> int ret;
>
> if (res->parent)
> release_resource(res);
>
dev_info() should be here. I commented on this earlier, just forgot.
> res->start = 0;
> res->end = 0;
> dev_info(&bridge->dev, "BAR %d: released %pR\n", i, res);
> return i;
> }
>
>
> struct pci_dev *next = bridge;
> ...
> do {
> bridge = next;
>
> ret = ...xxx...(...);
> if (ret)
Here, of course,
if (ret < 0)
> goto cleanup;
>
> next = bridge->bus ? bridge->bus->self : NULL;
> } while (next);
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists