Message ID | 20191027203358.152932208@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2542499ill; Sun, 27 Oct 2019 14:22:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzemmRTg19ZEQzEoZ3x+DAXgui66qz9WCgSeyx37PHUZ06lemc/S0Q/YCLH1SDDeBpzvx7E X-Received: by 2002:a17:906:c836:: with SMTP id dd22mr13898524ejb.178.1572211359372; Sun, 27 Oct 2019 14:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572211359; cv=none; d=google.com; s=arc-20160816; b=LyGeqNShkyvRx3bFQCCUUrY2eHIKvM7RyDiBFW5PVgsRQzD33LK0gpSXv8uzfdfAW6 /vZ8h+SbVzOSL7KircSqRANpcAZKkQwDjJkZXgxSyJQzZK4EeuSSVTO80sv+HYChhFkk cuOn2EFQMrmoblmThN5RMyaMHk+uxewCcpbFdYlB/yksRkwAiTS7N8i3+XAj99QXVH96 /BY5egVuYHh8jF4v9iXVC5x7rdct1t0Ly99mSjnEB7bqAjHdE/GqV7dK5sus84fg2u2s yQye0+qfsiIqS6OnKBVcrqellUeQtZfcS9WHVfbVKmnlUGSSYMx1SWgJKB9e4YYmnS62 hWxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UhYvEJm2ucGzIrULymEbcvnFSElEFheBuU9YBhIfxto=; b=XpZLLGR9oB79oOr8UIMhrCflmopQMc04cdZ4tKQrKuTPUpLA/cYbOZzxduovtqNUao cDDsb3AJezKRtZd320OfBZiNhsIMF//Jr/sOrQKqsJFh7r5pkMOkAjz/Bi2DjzRAZ/YV C3wgyB2Km3GpMRwiYkClpqEBRipKTDS3pLwp/sKg/9WuFvclarBde11Ltsql4ky/ruZe fMAF/6AUynj5b9Sa78FjvsSD2piX+p2dLRfLLczbkaevotx+rmGfVY53jKtdsWQRByox 0NUPbM0ziiMca6RiySB6egnfcvwz+pp/lUK2FdelD7kj5M5tJWBeb00cfY1cARVp9Dbv lT0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uZpHXYmT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si4675493eju.230.2019.10.27.14.22.38; Sun, 27 Oct 2019 14:22:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uZpHXYmT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732189AbfJ0VWh (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Sun, 27 Oct 2019 17:22:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:43530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732166AbfJ0VWa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 27 Oct 2019 17:22:30 -0400 Received: from localhost (100.50.158.77.rev.sfr.net [77.158.50.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 25EC621726; Sun, 27 Oct 2019 21:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572211349; bh=df4Y9A4zKSCoojkUKFKYOB6WZIW3Pesuoio2VX51KR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uZpHXYmTK+ErPw3YKsbzXmYznO4gGIMEJFtz8Cnyt228b2/ELsJntCNewNG2oJeY5 hNCFRTbjSe7pDYcjVgK1FDKue2GUUqyEj3UJN7Aij1RGru+UxtBsDbHtnFilDZwX76 /Ixu8REfAnDm2XSaSr2tKm4EWKPk6FLw2dn52ebg= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, John Garry <john.garry@huawei.com>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Subject: [PATCH 5.3 119/197] ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit() Date: Sun, 27 Oct 2019 22:00:37 +0100 Message-Id: <20191027203358.152932208@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191027203351.684916567@linuxfoundation.org> References: <20191027203351.684916567@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/acpi/cppc_acpi.c +++ b/drivers/acpi/cppc_acpi.c @@ -905,8 +905,8 @@ void acpi_cppc_processor_exit(struct acp pcc_data[pcc_ss_id]->refcount--; if (!pcc_data[pcc_ss_id]->refcount) { pcc_mbox_free_channel(pcc_data[pcc_ss_id]->pcc_channel); - pcc_data[pcc_ss_id]->pcc_channel_acquired = 0; kfree(pcc_data[pcc_ss_id]); + pcc_data[pcc_ss_id] = NULL; } } }