diff options
-rw-r--r-- | drivers/scsi/aacraid/aachba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 0b6fd0b654d2..80d42070edf0 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -2070,7 +2070,7 @@ static int query_disk(struct aac_dev *dev, void __user *arg) | |||
2070 | } | 2070 | } |
2071 | else return -EINVAL; | 2071 | else return -EINVAL; |
2072 | 2072 | ||
2073 | qd.valid = fsa_dev_ptr[qd.cnum].valid; | 2073 | qd.valid = fsa_dev_ptr[qd.cnum].valid != 0; |
2074 | qd.locked = fsa_dev_ptr[qd.cnum].locked; | 2074 | qd.locked = fsa_dev_ptr[qd.cnum].locked; |
2075 | qd.deleted = fsa_dev_ptr[qd.cnum].deleted; | 2075 | qd.deleted = fsa_dev_ptr[qd.cnum].deleted; |
2076 | 2076 | ||