Re: [PATCH v3 3/4] chardev: code cleanup for __register_chrdev_region()

From: Chengguang Xu
Date: Fri Apr 05 2019 - 08:52:54 EST


> Sent: Friday, April 05, 2019 at 8:32 PM
> From: "Greg KH" <gregkh@xxxxxxxxxxxxxxxxxxx>
> To: "Chengguang Xu" <cgxu519@xxxxxxx>
> Cc: dan.carpenter@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v3 3/4] chardev: code cleanup for __register_chrdev_region()
>
> On Fri, Apr 05, 2019 at 07:27:10PM +0800, Chengguang Xu wrote:
> > It's just code cleanup, not functional change.
> >
> > Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>
> > ---
> > v1->v2:
> > - Split fix and cleanup patches.
> > - Remove printing minor range in chrdev_show().
> >
> > v2->v3:
> > - Set variable ret to '-EBUSY' before checking minor range overlap.
>
> Can you just send the follow-on patch that does the v3 change as I have
> already taken your series.

OK, I'll send another patch for it.

Thanks.
Chengguang.