[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150331161021.GB1152@lst.de>
Date: Tue, 31 Mar 2015 18:10:21 +0200
From: Christoph Hellwig <hch@....de>
To: Boaz Harrosh <openosd@...il.com>
Cc: Boaz Harrosh <boaz@...xistor.com>, Christoph Hellwig <hch@....de>,
linux-nvdimm@...1.01.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
ross.zwisler@...ux.intel.com, axboe@...nel.dk
Subject: Re: [RFC] SQUASHME: pmem: Split up pmem_probe from pmem_alloc
On Tue, Mar 31, 2015 at 05:21:15PM +0300, Boaz Harrosh wrote:
> -static int pmem_probe(struct platform_device *pdev)
> +static int pmem_alloc(struct resource *res, struct device *dev,
> + struct pmem_device **o_pmem)
> {
please return the pmem device or an ERR_PTR() here.
Except for that it looks fine for me, and it's exactly what we'd export
for your PCIe device which would get an almost trivial pci_driver wrapper
around it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists