Re: [PATCH] QAT: Fix uninitialized variable in qat driver

2015-06-27 Thread Tadeusz Struk
On 06/26/2015 10:56 AM, Neil Horman wrote: > Hit a warning when building QAT, indicating that sz_out might be uninitalized > before use. Looks like if you hit an error path and jump to err: you might > find > yourself trying to unmap an arbirarily long dma region. Its safe on intel > since > in

[PATCH] QAT: Fix uninitialized variable in qat driver

2015-06-26 Thread Neil Horman
Hit a warning when building QAT, indicating that sz_out might be uninitalized before use. Looks like if you hit an error path and jump to err: you might find yourself trying to unmap an arbirarily long dma region. Its safe on intel since intel defines the invalid dma address as zero, but other ar