From: Wei Yongjun Date: Mon, 3 Dec 2012 15:15:00 +0000 (+0100) Subject: s390/pci: fix potential NULL pointer dereference in dma_free_seg_table() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafff1743f2b1bda24daba29c59f755aa2d505b7;p=pandora-kernel.git s390/pci: fix potential NULL pointer dereference in dma_free_seg_table() The dereference to 'zdev' should be moved below the NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed