From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH] IB/srp: Avoid using uninitialized variable Date: Thu, 25 Jun 2015 07:22:15 -0700 Message-ID: <558C0E97.5010204@sandisk.com> References: <1435228455-25862-1-git-send-email-sagig@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435228455-25862-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sagi Grimberg , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Doug Ledford , Sagi Grimberg List-Id: linux-rdma@vger.kernel.org On 06/25/15 03:34, Sagi Grimberg wrote: > We might return res which is not initialized. Also > reduce code duplication by exporting srp_parse_tmo so > srp_tmo_set can reuse it. Good catch. Reviewed-by: Bart Van Assche -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html