From: Alan Cox Date: Wed, 10 Dec 2014 15:06:40 +0000 (+0000) Subject: pcmcia: Fix requery X-Git-Tag: fixes-v4.0-rc1~101^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8402641b2dc73748dde81e3513ac61c8436be3cb;p=pandora-kernel.git pcmcia: Fix requery The requery logic goes off and attempts to read the CIS of empty slots. In most cases this happens not to do any harm - but not all! Add the missing check and also a WARN() to catch any other offenders. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed