Re: [PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread Greg KH
On Tue, Feb 12, 2019 at 11:41:35PM +0800, cgxu519 wrote: > On 2/12/19 11:20 PM, Greg KH wrote: > > On Tue, Feb 12, 2019 at 11:18:22PM +0800, cgxu519 wrote: > > > On 2/12/19 5:02 PM, Greg KH wrote: > > > > On Tue, Feb 12, 2019 at 04:47:39PM +0800, Chengguang Xu wrote: > > > > > Currently chardev

Re: [PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread cgxu519
On 2/12/19 11:20 PM, Greg KH wrote: On Tue, Feb 12, 2019 at 11:18:22PM +0800, cgxu519 wrote: On 2/12/19 5:02 PM, Greg KH wrote: On Tue, Feb 12, 2019 at 04:47:39PM +0800, Chengguang Xu wrote: Currently chardev allows to share major, showing major with minor range for chardev will be more

Re: [PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread Greg KH
On Tue, Feb 12, 2019 at 11:18:22PM +0800, cgxu519 wrote: > On 2/12/19 5:02 PM, Greg KH wrote: > > On Tue, Feb 12, 2019 at 04:47:39PM +0800, Chengguang Xu wrote: > > > Currently chardev allows to share major, showing > > > major with minor range for chardev will be more > > > helpful. > > > > > >

Re: [PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread cgxu519
On 2/12/19 5:02 PM, Greg KH wrote: On Tue, Feb 12, 2019 at 04:47:39PM +0800, Chengguang Xu wrote: Currently chardev allows to share major, showing major with minor range for chardev will be more helpful. Signed-off-by: Chengguang Xu --- fs/char_dev.c | 4 +++- 1 file changed, 3

Re: [PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread Greg KH
On Tue, Feb 12, 2019 at 04:47:39PM +0800, Chengguang Xu wrote: > Currently chardev allows to share major, showing > major with minor range for chardev will be more > helpful. > > Signed-off-by: Chengguang Xu > --- > fs/char_dev.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >

[PATCH 2/2] chardev: showing minor range for chardev in the output of /proc/devices

2019-02-12 Thread Chengguang Xu
Currently chardev allows to share major, showing major with minor range for chardev will be more helpful. Signed-off-by: Chengguang Xu --- fs/char_dev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/char_dev.c b/fs/char_dev.c index b25b1da097d5..6f00acdeb308 100644