summaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-26 10:32:34 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-26 11:22:11 +0200
commit01a9a2a5a8c56ce8699616a608a28de4e537ff56 (patch)
treeaf75edf3ba777c3bec5603f1234134a5787bc56f /list.h
parentf3057cdf8518d4931a12beb3f4322638500efec8 (diff)
trafgen: Use mkostemp_or_die() to create unique temporary file
Use the mkostemp_or_die() wrapper introduced in commit a87f181bd836 ("ioops: Add mkostemp_or_die") to safely create a unique temporary file instead of using rand() to manually create a (potentially unsafe) temporary filename. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'list.h')
0 files changed, 0 insertions, 0 deletions
move&id=566cf877a1fcb6d6dc0126b076aad062054c2637'>566cf877a1fcb6d6dc0126b076aad062054c2637 (diff)
mmc: sdhci: Ignore unexpected CARD_INT interrupts
One of our kernelCI boxes hanged at boot because a faulty eSDHC device was triggering spurious CARD_INT interrupts for SD cards, causing CMD52 reads, which are not allowed for SD devices. This adds a sanity check to the interruption path, preventing that illegal command from getting sent if the CARD_INT interruption should be disabled. This quirk allows that particular machine to resume boot despite the faulty hardware, instead of getting hung dealing with thousands of mishandled interrupts. Suggested-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/usb/host/pci-quirks.c')