diff options
| -rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 585845203db8..076bc38963bf 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) | |||
| 4044 | } | 4044 | } |
| 4045 | add_uevent_var(env, "PID=%d", kvm->userspace_pid); | 4045 | add_uevent_var(env, "PID=%d", kvm->userspace_pid); |
| 4046 | 4046 | ||
| 4047 | if (kvm->debugfs_dentry) { | 4047 | if (!IS_ERR_OR_NULL(kvm->debugfs_dentry)) { |
| 4048 | char *tmp, *p = kmalloc(PATH_MAX, GFP_KERNEL); | 4048 | char *tmp, *p = kmalloc(PATH_MAX, GFP_KERNEL); |
| 4049 | 4049 | ||
| 4050 | if (p) { | 4050 | if (p) { |
