]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerChris Ball <chris@printf.net>
Thu, 23 Jan 2014 15:52:53 +0000 (10:52 -0500)
commit945be38caa287b177b8c17ffaae7754cab6a658f
treeace5ef83fd0d430df3a47a47dfe81036b26750bf
parent77a0122e0838663795651aa0beb2325156f98c09
mmc: sdhci-pci: Fix possibility of chip->fixes being null

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

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable <stable@vger.kernel.org> # 3.11+
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-pci.c