mmc: sdhci-pci: Fix possibility of chip->fixes being null
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 21 Jan 2014 07:52:39 +0000 (09:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:55:46 +0000 (13:55 -0800)
commitc28a553bd62e80b4ef51592e2b787ceb71754fec
tree9da4ad940a69eb653cb07c14e2cb646b1f80250a
parent0a3ce0fcb82f60a7682c2130dc9f15fb25f2d306
mmc: sdhci-pci: Fix possibility of chip->fixes being null

commit 945be38caa287b177b8c17ffaae7754cab6a658f upstream.

It is possible for chip->fixes to be null.  Check before dereferencing it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <chris@printf.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci.c