On Tue, Jun 27, 2017 at 06:47:53PM +0100, Andrew Cooper wrote:
> Coverity warns that pirq_dpci unconditionally dereferences a NULL pointer.
> This warning appears to be triggered by pirq_dpci() which is a hidden ternary
> expression. In reality, it appears that both callers pass a non-NULL pirq
>
>>> Andrew Cooper 06/27/17 7:48 PM >>>
>Coverity warns that pirq_dpci unconditionally dereferences a NULL pointer.
>This warning appears to be triggered by pirq_dpci() which is a hidden ternary
>expression. In reality, it appears that both callers pass a non-NULL pirq
>parameter, so the code is o
Coverity warns that pirq_dpci unconditionally dereferences a NULL pointer.
This warning appears to be triggered by pirq_dpci() which is a hidden ternary
expression. In reality, it appears that both callers pass a non-NULL pirq
parameter, so the code is ok in practice.
Rearange the logic to fail-s