summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_sas.c
diff options
context:
space:
mode:
authorjack wang2009-12-07 10:22:59 +0100
committerJames Bottomley2009-12-10 17:06:16 +0100
commita61b8699c764cccf85ccbf489e1772b2950ba4c6 (patch)
tree5c894e3514fbc3b820970d4524cb10d5c5430615 /drivers/scsi/pm8001/pm8001_sas.c
parent[SCSI] pm8001:fix potential NULL pointer dereference (diff)
downloadkernel-qcow2-linux-a61b8699c764cccf85ccbf489e1772b2950ba4c6.tar.gz
kernel-qcow2-linux-a61b8699c764cccf85ccbf489e1772b2950ba4c6.tar.xz
kernel-qcow2-linux-a61b8699c764cccf85ccbf489e1772b2950ba4c6.zip
[SCSI] pm8001: bit set pm8001_ha->flags
Signed-off-by: Jack Wang <jack_wang@usish.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_sas.c')
-rw-r--r--drivers/scsi/pm8001/pm8001_sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
index 487f78ff750b..c86f92160c7a 100644
--- a/drivers/scsi/pm8001/pm8001_sas.c
+++ b/drivers/scsi/pm8001/pm8001_sas.c
@@ -656,7 +656,7 @@ static int pm8001_dev_found_notify(struct domain_device *dev)
wait_for_completion(&completion);
if (dev->dev_type == SAS_END_DEV)
msleep(50);
- pm8001_ha->flags = PM8001F_RUN_TIME ;
+ pm8001_ha->flags |= PM8001F_RUN_TIME ;
return 0;
found_out:
spin_unlock_irqrestore(&pm8001_ha->lock, flags);