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:

committed by
James Bottomley

parent
e345893bd4
commit
7fa3030c65
@@ -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;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user