commit | 9ff2c132345cab8972a2bd29069aa52a3cadbbcc | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Thu May 14 09:19:13 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 24 11:55:15 2015 -0700 |
tree | 0c4711947fd75fdaf88df0aef5b85ca23d453496 | |
parent | 5b20a028faa15477dcd195c85173bb118eb23b3d [diff] |
uio: don't free irq that was not requested UIO base driver should only free_irq that it has requested. UIO supports drivers without interrupts (irq == 0) or custom handlers. This fixes warnings like: WARNING: CPU: 1 PID: 5478 at kernel/irq/manage.c:1244 __free_irq+0xa9/0x1e0() Trying to free already-free IRQ 0 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>