Re: [GIT PULL] SCSI fixes for 3.15-rc3

2014-04-28 Thread Paolo Bonzini
Il 25/04/2014 16:59, James Bottomley ha scritto: This is a set of seven fixes, three (hpsa) and free'd command references correcting bugs in the last round of updates and the remaining four correcting problems within the SCSI error handler that was causing a deadlock within USB. The patch is

[GIT PULL] SCSI fixes for 3.15-rc3

2014-04-25 Thread James Bottomley
This is a set of seven fixes, three (hpsa) and free'd command references correcting bugs in the last round of updates and the remaining four correcting problems within the SCSI error handler that was causing a deadlock within USB. The patch is available here:

Re: [GIT PULL] SCSI fixes for 3.15-rc3

2014-04-25 Thread David Rientjes
On Fri, 25 Apr 2014, James Bottomley wrote: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 65a123d..9db097a 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -137,6 +137,7 @@ static void __scsi_queue_insert(struct scsi_cmnd *cmd, int reason, int

Re: [GIT PULL] SCSI fixes for 3.15-rc3

2014-04-25 Thread Linus Torvalds
On Fri, Apr 25, 2014 at 3:49 PM, David Rientjes rient...@google.com wrote: Hmm, I see why this is needed because of the scsi_put_command(cmd), but I think you need to do struct scsi_device *sdev = ACCESS_ONCE(cmd-device) instead to prevent gcc from messing with the code generation. No, if gcc