sbp2: fix deregistration of status fifo address space
authorBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:15:20 +0000 (18:15 -0400)
committerBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:15:20 +0000 (18:15 -0400)
commite269d276792684a13ab0d9acd8c024ec7d6c5f4d
tree18d02851685f4e458a52984e290ced6aaa976998
parent02f4213fc43dbddc3a3ab9fa4d2dc2501a2d30dc
sbp2: fix deregistration of status fifo address space

The proper designator of an invalid CSR address is ~(u64)0, not (u64)0.
Use the correct value in initialization and deregistration.
Also, scsi_id->sbp2_lun does not need to be initialized twice.
(scsi_id was kzalloc'd.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
drivers/ieee1394/sbp2.c