[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YAk3lVeFqnv5vzA2@kroah.com>
Date: Thu, 21 Jan 2021 09:13:09 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Dan Williams <dan.j.williams@...el.com>
Cc: Logan Gunthorpe <logang@...tatee.com>,
Hans Verkuil <hans.verkuil@...co.com>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Dave Jiang <dave.jiang@...el.com>, vishal.l.verma@...el.com,
linux-kernel@...r.kernel.org, linux-nvdimm@...ts.01.org
Subject: Re: [PATCH 1/3] cdev: Finish the cdev api with queued mode support
On Wed, Jan 20, 2021 at 11:38:57AM -0800, Dan Williams wrote:
> -void cdev_del(struct cdev *p)
> +void cdev_del(struct cdev *cdev)
> {
> - cdev_unmap(p->dev, p->count);
> - kobject_put(&p->kobj);
> + cdev_unmap(cdev->dev, cdev->count);
> + kobject_put(&cdev->kobj);
After Christoph's patch series, the kobject in struct cdev does nothing,
so I will be removing it. So I don't think this patch set is going to
do what you want :(
thanks,
greg k-h
Powered by blists - more mailing lists