Thread (1 message) 1 message, 1 author, 2018-07-18

Re: [PATCH v7 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

From: Andy Shevchenko <hidden>
Date: 2018-07-18 16:37:24
Also in: linux-devicetree, linuxppc-dev, nvdimm

On Wed, Jul 18, 2018 at 7:36 PM, Andy Shevchenko
[off-list ref] wrote:
On Wed, Jul 18, 2018 at 5:49 AM, Baoquan He [off-list ref] wrote:
quoted
reparent_resources() is duplicated in arch/microblaze/pci/pci-common.c
and arch/powerpc/kernel/pci-common.c, so move it to kernel/resource.c
so that it's shared.
quoted
+ * Returns 0 on success, -ENOTSUPP if child resource is not completely
+ * contained by 'res', -ECANCELED if no any conflicting entry found.
You also can refer to constants by prefixing them with %, e.g. %-ENOTSUPP.
But this is up to you completely.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help