Re: [PATCH] staging: comedi: replace slash in name

2021-03-16 Thread Tong Zhang
On Tue, Mar 16, 2021 at 6:37 AM Ian Abbott wrote: > > Thanks. I think the only other Comedi driver with the same problem is > "drivers/staging/comedi/drivers/das800.c". It passes dev->board_name as > the name argument of request_irq(), but that is "cio-das802/16" for one > of the boards

Re: [PATCH] staging: comedi: replace slash in name

2021-03-16 Thread Ian Abbott
On 15/03/2021 20:00, Tong Zhang wrote: Thanks Ian, I have submitted a v2 patch based on your suggestions. Thanks, - Tong Thanks. I think the only other Comedi driver with the same problem is "drivers/staging/comedi/drivers/das800.c". It passes dev->board_name as the name argument of

Re: [PATCH] staging: comedi: replace slash in name

2021-03-15 Thread Tong Zhang
Thanks Ian, I have submitted a v2 patch based on your suggestions. Thanks, - Tong On Mon, Mar 15, 2021 at 6:48 AM Ian Abbott wrote: > > On 15/03/2021 10:44, Ian Abbott wrote: > > On 14/03/2021 03:57, Tong Zhang wrote: > >> request_irq() wont accept a name which contains slash so we need to > >>

Re: [PATCH] staging: comedi: replace slash in name

2021-03-15 Thread Ian Abbott
On 15/03/2021 10:44, Ian Abbott wrote: > On 14/03/2021 03:57, Tong Zhang wrote: >> request_irq() wont accept a name which contains slash so we need to >> repalce it with something else -- otherwise it will trigger a warning >> and the entry in /proc/irq/ will not be created >> >> [1.565966]

Re: [PATCH] staging: comedi: replace slash in name

2021-03-15 Thread Ian Abbott
On 14/03/2021 03:57, Tong Zhang wrote: > request_irq() wont accept a name which contains slash so we need to > repalce it with something else -- otherwise it will trigger a warning > and the entry in /proc/irq/ will not be created > > [1.565966] name 'pci-das6402/16' > [1.566149] WARNING:

[PATCH] staging: comedi: replace slash in name

2021-03-13 Thread Tong Zhang
request_irq() wont accept a name which contains slash so we need to repalce it with something else -- otherwise it will trigger a warning and the entry in /proc/irq/ will not be created [1.565966] name 'pci-das6402/16' [1.566149] WARNING: CPU: 0 PID: 184 at fs/proc/generic.c:180