mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	scsi: mvumi: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
Prepare for removal of the request pointer by using scsi_cmd_to_rq() instead. This patch does not change any functionality. Link: https://lore.kernel.org/r/20210809230355.8186-32-bvanassche@acm.org Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
		
							parent
							
								
									24b3c922bc
								
							
						
					
					
						commit
						ce425dd7db
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -702,7 +702,7 @@ static int mvumi_host_reset(struct scsi_cmnd *scmd) | |||
| 	mhba = (struct mvumi_hba *) scmd->device->host->hostdata; | ||||
| 
 | ||||
| 	scmd_printk(KERN_NOTICE, scmd, "RESET -%u cmd=%x retries=%x\n", | ||||
| 			scmd->request->tag, scmd->cmnd[0], scmd->retries); | ||||
| 			scsi_cmd_to_rq(scmd)->tag, scmd->cmnd[0], scmd->retries); | ||||
| 
 | ||||
| 	return mhba->instancet->reset_host(mhba); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bart Van Assche
						Bart Van Assche