diff options
author | 2008-11-11 17:17:45 +0800 | |
---|---|---|
committer | 2008-11-19 14:12:29 -0800 | |
commit | 1df8fb3d5f078f9cab901b6106ef2c9b74eef7df (patch) | |
tree | 48941e9ff7997acb1af25ff2a546a921b383f06f /lib/genalloc.c | |
parent | Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block (diff) | |
download | wireguard-linux-1df8fb3d5f078f9cab901b6106ef2c9b74eef7df.tar.xz wireguard-linux-1df8fb3d5f078f9cab901b6106ef2c9b74eef7df.zip |
PCI: Fix disable IRQ 0 in pci_reset_function()
Before initialization, dev->irq may be zero. Make sure we don't disable
it at reset time in that case.
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions