diff options
author | Joe Handzik <joseph.t.handzik@hp.com> | 2014-05-15 22:44:42 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 19:12:28 +0200 |
commit | 6e8e8088aa9d2f0108dda6943aea8930be6f8f22 (patch) | |
tree | 31ba65c3b6f78de991f5a9018d0721c63367ace0 /drivers/scsi/hpsa.h | |
parent | hpsa: add new Smart Array PCI IDs (May 2014) (diff) | |
download | linux-6e8e8088aa9d2f0108dda6943aea8930be6f8f22.tar.xz linux-6e8e8088aa9d2f0108dda6943aea8930be6f8f22.zip |
hpsa: fix memory leak in hpsa_hba_mode_enabled
And while we're at it fix a magic number
Signed-off-by: Joe Handzik <joseph.t.handzik@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/hpsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 44235a27e1b6..1e3cf33a82cf 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h @@ -90,6 +90,7 @@ struct bmic_controller_parameters { u8 automatic_drive_slamming; u8 reserved1; u8 nvram_flags; +#define HBA_MODE_ENABLED_FLAG (1 << 3) u8 cache_nvram_flags; u8 drive_config_flags; u16 reserved2; |