diff options
author | Tong Zhang <ztong0001@gmail.com> | 2021-03-18 23:47:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-22 17:04:11 +0100 |
commit | 9e1c785f13e0ed11ad0dade9b63fb6012df81b71 (patch) | |
tree | 50f14617a3cb0c0aeb05faadf7a411ac32f3c60f /drivers/net | |
parent | c7f57fd6b7f0a889b0f847611c9075c37dd31810 (diff) | |
download | linux-9e1c785f13e0ed11ad0dade9b63fb6012df81b71.tar.gz linux-9e1c785f13e0ed11ad0dade9b63fb6012df81b71.tar.bz2 linux-9e1c785f13e0ed11ad0dade9b63fb6012df81b71.zip |
staging: comedi: das800: fix request_irq() warn
request_irq() won't accept a name which contains slash so we need to
replace it with something else -- otherwise it will throw a warning
and the entry in /proc/irq/ will not be created.
Since the .name might be used by userspace and we don't want to break
userspace, so we are changing the parameters passed to request_irq()
Suggested-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Link: https://lore.kernel.org/r/20210319034753.435811-1-ztong0001@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions