drivers/scsi/qla1280.c check_region -> request->region (241p9)
Subsystems (2)
PATCH 1/1 drivers/scsi/qla1280.c check_region -> request->region (241p9)
Hi.
The following patch makes drivers/scsi/qla1280.c use the return code of request_region instead of a call to check_region. It applies cleanly against ac10 and 241p9.
Comments?
drivers/scsi/qla1280.c +1 -3
@@ -939,7 +939,7 @@ }/* Register the I/O space with Linux */ -if (check_region (host->io_port,0xff )) +if (!request_region (host->io_port,0xff ,"qla1280" )) {printk ("qla1280 : Failed to reserved i/o region 0x%04lx-0x%04lx already in use\n" , host->io_port, host->io_port +0xff );
@@ -948,8 +948,6 @@scsi_unregister (host);return 1 ; } - -request_region (host->io_port,0xff ,"qla1280" );return 0 ; }
Signature · 9 lines
Regards,
Rasmus([email protected])
"It's like an Alcatraz around my neck."
-Boston mayor Menino on the shortage of city parking spaces
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/