From: Larry Finger Date: Thu, 1 Sep 2011 17:23:14 +0000 (-0500) Subject: staging: rtl8192e: Fix smatch error and warning in rtl_core.c X-Git-Tag: v3.2-rc1~169^2^2~688 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f8673d11b60c6c887f8f28734233a7aa580afa;p=pandora-kernel.git staging: rtl8192e: Fix smatch error and warning in rtl_core.c Smatch shows the following errors: CHECK drivers/staging/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtl_core.c +600 rtl8192_qos_activate(7) warn: variable dereferenced before check 'priv' drivers/staging/rtl8192e/rtl_core.c +1345 rtl8192_init(40) warn: 'dev->irq' was not released on error drivers/staging/rtl8192e/rtl_core.c +2120 rtl8192_alloc_rx_desc_ring(43) error: potential null derefence 'entry'. drivers/staging/rtl8192e/rtl_core.c +3010 rtl8192_pci_probe(153) warn: 'pmem_start' was not released on error Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed