Messages in this thread | | | Date | Sun, 4 Dec 2016 08:20:37 +0200 | From | Leon Romanovsky <> | Subject | Re: [PATCH 1/1] infiniband: hw: ocrdma: fix bad initialization |
| |
On Sat, Dec 03, 2016 at 09:10:21PM +0800, Pan Bian wrote: > From: Pan Bian <bianpan2016@163.com> > > In function ocrdma_mbx_create_ah_tbl(), returns the value of status on > errors. However, because status is initialized with 0, 0 will be > returned even if on error paths. This patch initialize status with > "-ENOMEM". > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188831 > > Signed-off-by: Pan Bian <bianpan2016@163.com>
Thanks, Reviewed-by: Leon Romanovsky <leonro@mellanox.com> [unhandled content-type:application/pgp-signature] | |