Message ID | 20210608175933.307835270@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp4003895jae; Tue, 8 Jun 2021 11:38:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEdXGxT+d0EhNzydBdLOHyVzXdgQwj1yrxCh07K7cEfv9EaUWU2lWvxk6GhCzd38BkLA9I X-Received: by 2002:a17:907:9487:: with SMTP id dm7mr17462684ejc.349.1623177516464; Tue, 08 Jun 2021 11:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623177516; cv=none; d=google.com; s=arc-20160816; b=GFB/6JVMy5iC9By1ck2OIlxk5RlokTy4SwYAbur583oR3tScoVdWSCmbg7/jCAlGmq 7qLQYRosI6C8KToXSfMPCJZhS1Opq3Ognhi11TjQgHz+JFSRzsmrIHV3QTuoBEUuR6zN BzOVqCIZqdRGJ+JtnUTdklP949niWivZaSmO7CVir9wG7EzkS3ohLknfX/9X4pWeUF3h 0AXwOQ+jqqyXc17uUK9BErpHYEaKEPwAxLjqQUz5D+ygNVcKtIcIfG9wV0nU8JifcRkv yxv7NoLeery9hNol+4MAu+zzEhE8jwuBj0LKbH+pjXh7qfVs7oEa88TO544Nf/qR2skZ bhtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3nttKEcJ7oXllI7+8QloqyuHqhdAd3VgUVNQB1Zyc9M=; b=uhfY08wmjwX9fAjUoPt85i8NUR4ToVfT6ufd18MNvIHh6ZeIyRDU63wOwy5dFmFnwI jmRXpLBu1/dc94yqp2lMHGaPn3t28JhqLE+wNfsmnmkeOunQ3t4xxeV3RQ32ZYMDysK4 FmmUwKlIi4t9JUoh/15i+HJnczoHzprtm4dyGYiw6rf0ZB0SQbjp6URm9dS3ZJc2r0K4 XPMY3ep5+7t51TtpPyITydxyvxsBu3y12r6D5wGBk78mI01W9ySZU2G558RrZ2gzYezR oZ4cSrJQtSFZGvnMm6saN6EQeWLkiVNJMvi5nPsr0Mp+A9OxqkA6QmtQvws/tMPqNzMq HiFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rSc+k8oD; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e17si368537edq.196.2021.06.08.11.38.36; Tue, 08 Jun 2021 11:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rSc+k8oD; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234730AbhFHSkQ (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Tue, 8 Jun 2021 14:40:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:37678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234938AbhFHSi5 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 8 Jun 2021 14:38:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 61D5461418; Tue, 8 Jun 2021 18:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623177222; bh=+/z6JGdvlZerLkioZXdjQcUzXhoG2/aels3UeropH3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rSc+k8oD2FpKAvFgnO1rMN5UFiHB57iYzxNqIZ2Ih/rHp7+Tso/ODibnTlGiESE50 ShPZ/HrngrYTJaiIt1preA3pz03r/pW+/r4yfv1BIgz7PaWXusgceWVEBWbK8AXSUQ CA7oqve2tQdp0CDAq6qDEBaBDFD6+ezE+vbYobcI= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Christian Brauner <christian.brauner@ubuntu.com>, Cedric Le Goater <clg@fr.ibm.com>, Christian Brauner <christian@brauner.io>, "Eric W. Biederman" <ebiederm@xmission.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Paul Mackerras <paulus@samba.org>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> Subject: [PATCH 4.19 31/58] pid: take a reference when initializing `cad_pid` Date: Tue, 8 Jun 2021 20:27:12 +0200 Message-Id: <20210608175933.307835270@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175932.263480586@linuxfoundation.org> References: <20210608175932.263480586@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/init/main.c +++ b/init/main.c @@ -1124,7 +1124,7 @@ static noinline void __init kernel_init_ */ set_mems_allowed(node_states[N_MEMORY]); - cad_pid = task_pid(current); + cad_pid = get_pid(task_pid(current)); smp_prepare_cpus(setup_max_cpus);