Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley: "This is a set of minor (and safe changes) that didn't make the initial pull request plus some bug fixes" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: qla2xxx: Mask off Scope bits in retry delay scsi: qla2xxx: Fix crash on qla2x00_mailbox_command scsi: aic7xxx: aic79xx: fix potential null pointer dereference on ahd scsi: mpt3sas: Add an I/O barrier scsi: qla2xxx: Fix setting lower transfer speed if GPSC fails scsi: hpsa: disable device during shutdown scsi: sd_zbc: Fix sd_zbc_check_zone_size() error path scsi: aacraid: remove bogus GFP_DMA32 specifies
This commit is contained in:
@@ -6112,10 +6112,6 @@ ahd_alloc(void *platform_arg, char *name)
|
||||
ahd->int_coalescing_stop_threshold =
|
||||
AHD_INT_COALESCING_STOP_THRESHOLD_DEFAULT;
|
||||
|
||||
if (ahd_platform_alloc(ahd, platform_arg) != 0) {
|
||||
ahd_free(ahd);
|
||||
ahd = NULL;
|
||||
}
|
||||
#ifdef AHD_DEBUG
|
||||
if ((ahd_debug & AHD_SHOW_MEMORY) != 0) {
|
||||
printk("%s: scb size = 0x%x, hscb size = 0x%x\n",
|
||||
@@ -6123,6 +6119,10 @@ ahd_alloc(void *platform_arg, char *name)
|
||||
(u_int)sizeof(struct hardware_scb));
|
||||
}
|
||||
#endif
|
||||
if (ahd_platform_alloc(ahd, platform_arg) != 0) {
|
||||
ahd_free(ahd);
|
||||
ahd = NULL;
|
||||
}
|
||||
return (ahd);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user