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:50:26 +0000 (13:50 -0800)
commitb8786a04f4db6cb6dd92f28b2f81737d290ba30b
tree358876491ae3223f2155b721e34bef5fe17f92df
parent1fb1e637bd971cdf1d5d4ca3a0ed6dcb657dbdc0
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