From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Fri, 09 Dec 2016 19:54:39 +0000 Subject: Re: md: Combine two kmalloc() calls into one in sb_equal() Message-Id: List-Id: References: <71044708-c5e4-3a14-b162-dfc600311a60@fastmail.fm> In-Reply-To: <71044708-c5e4-3a14-b162-dfc600311a60@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bernd Schubert Cc: linux-raid@vger.kernel.org, Shaohua Li , LKML , kernel-janitors@vger.kernel.org > So where did you get the idea from that it is not checked immediately? Is another variable assignment performed so far before the return value is checked from a previous function call? Regards, Markus