[PATCH] aha152X oops fixes
From: Martin Diehl <lists@mdiehl.de> Seems there are two problems: * interrupt handler expects to find the host in aha152x_host[] array which is currently set too late after probing irq's * despite testing for NULL swintr derefences a shpnt==NULL anyway, looks like a victim of HOSTNO obfuscation ;-) The patch below fixes the issue for me - succesfully tested to compile, load and even use my attached scanner. drivers/scsi/aha152x.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-)
Showing
Please register or sign in to comment