From: Peter Huewe Date: Tue, 19 Feb 2013 04:13:50 +0000 (+0100) Subject: staging/slicoss: Check pointer before dereferencing X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~776 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81372118c6fc12d41b6e978b915cc010fe6e5700;p=pandora-kernel.git staging/slicoss: Check pointer before dereferencing Smatch complains that the variable adapter is dereferenced before it is checked: slicoss.c:906 slic_timer_load_check() warn: variable dereferenced before check 'adapter' (see line 904) -> move the assignment after the check. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed