hpsa: do not use a void pointer for scsi_cmd field of struct CommandList

There's no reason for it to be a void *, it should be a struct scsi_cmnd *

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Stephen Cameron
2015-01-23 16:44:30 -06:00
committed by James Bottomley
parent e345893bd4
commit 7fa3030c65
2 changed files with 4 additions and 4 deletions

View File

@@ -408,7 +408,7 @@ struct CommandList {
int cmd_type;
long cmdindex;
struct completion *waiting;
void *scsi_cmd;
struct scsi_cmnd *scsi_cmd;
struct work_struct work;
/*