Re: [PATCH rdma-next] RDMA/cxgb4: Protect from possible dereference

Doug Ledford
2017-11-13T18:53:58Z

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

On Sun, 2017-10-29 at 21:34 +0200, Leon Romanovsky wrote:
> Smatch tool reports the following error:
> drivers/infiniband/hw/cxgb4/qp.c:1886
> c4iw_create_qp() error: we previously assumed 'ucontext'
> could be null (see line 1804)
>
> Cc: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
> Signed-off-by: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

Thanks, applied.

--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]