Merge tag ‘mmc-v5.0-rc8’ of git:// [Linux 5.0]

Merge tag ‘mmc-v5.0-rc8’ of git:// [Linux 5.0]

This Linux kernel change "Merge tag ‘mmc-v5.0-rc8’ of git://" is included in the Linux 5.0 release. This change is authored by Linus Torvalds <torvalds [at]> on Thu Feb 28 09:18:07 2019 -0800. The commit for this change in Linux stable tree is 3a8ed36 (patch). Other info about this change: Merge: 3f25a599 e30be06

Merge tag 'mmc-v5.0-rc8' of git://

Pull MMC fixes from Ulf Hansson:
 "MMC core:
   - Fix NULL ptr crash for a special test case
   - Align max segment size with logical block size to prevent bugs in

  MMC host:
   - cqhci: Minor fixes
   - tmio: Prevent interrupt storm
   - tmio: Fixup SD/MMC card initialization
   - spi: Allow card to be detected during probe
   - sdhci-esdhc-imx: Fixup fix for ERR004536"

* tag 'mmc-v5.0-rc8' of git://
  mmc: sdhci-esdhc-imx: correct the fix of ERR004536
  mmc: core: align max segment size with logical block size
  mmc: cqhci: Fix a tiny potential memory leak on error condition
  mmc: cqhci: fix space allocated for transfer descriptor
  mmc: core: Fix NULL ptr crash from mmc_should_fail_request
  mmc: tmio: fix access width of Block Count Register
  mmc: tmio_mmc_core: don't claim spurious interrupts
  mmc: spi: Fix card detection during probe

There is no are 0 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 virt/kvm/kvm_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 5858452..076bc38 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -4044,7 +4044,7 @@ static void kvm_uevent_notify_change(unsigned int type, struct kvm *kvm)
    add_uevent_var(env, "PID=%d", kvm->userspace_pid);

-   if (kvm->debugfs_dentry) {
+   if (!IS_ERR_OR_NULL(kvm->debugfs_dentry)) {
        char *tmp, *p = kmalloc(PATH_MAX, GFP_KERNEL);

        if (p) {

Leave a Reply

Your email address will not be published. Required fields are marked *