From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Schwidefsky Date: Mon, 03 Dec 2012 16:02:36 +0000 Subject: Re: [PATCH -next] s390/pci: fix potential NULL pointer dereference in dma_free_seg_table() Message-Id: <20121203110236.15958af0@mschwide> In-Reply-To: References: To: linux-s390@vger.kernel.org List-ID: On Mon, 3 Dec 2012 08:08:23 -0500 Wei Yongjun wrote: > From: Wei Yongjun > > The dereference to 'zdev' should be moved below the NULL test. > > Signed-off-by: Wei Yongjun Added this patch as well. Thanks again. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.