Re: [PATCH 3/3] scsi: qla2xxx: calculate dump size if EFT alloc fails

2019-08-13 Thread Hannes Reinecke
On 8/13/19 10:31 PM, Martin Wilck wrote: > From: Martin Wilck > > It seems right to try and calculate the dump size properly > even in the error case, before allocating the dump buffers. > > Cc: Joe Carnuccio > Cc: Quinn Tran > Cc: Himanshu Madhani > Cc: Bart Van Assche > Signed-off-by: Mart

[PATCH 3/3] scsi: qla2xxx: calculate dump size if EFT alloc fails

2019-08-13 Thread Martin Wilck
From: Martin Wilck It seems right to try and calculate the dump size properly even in the error case, before allocating the dump buffers. Cc: Joe Carnuccio Cc: Quinn Tran Cc: Himanshu Madhani Cc: Bart Van Assche Signed-off-by: Martin Wilck --- drivers/scsi/qla2xxx/qla_init.c | 5 +++-- 1 f