Message ID | 20210608175931.173888153@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3998000jae; Tue, 8 Jun 2021 11:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz29lH+GqBygsuuTUudIduL7wno1MBVfEnOZ33R4Qxxm3T/yQG8jup97xkVzHJlU4xebNIC X-Received: by 2002:a05:6402:4395:: with SMTP id o21mr18556979edc.163.1623177216131; Tue, 08 Jun 2021 11:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623177216; cv=none; d=google.com; s=arc-20160816; b=kGv9qWIBjtzzb2YhrhiyNfZZcgxWlbRUXhkE3eZ++lMIQTr9b1rXILiliR2Ixag6TK NKKQMXs7/5Kan85KfRsLjnw7aPmDPBZP1YaJ2A5G5MSVlsfZPX243TMugllpxXdzl7gE tT95VpFghCkP5hoBBT/8NT7M62VG5JP07mzalJpSHdpik/2djO8gzjW6ujEAPIpHSnVc LSNghfRNLdO6P4v52oE0HkLaeErlVymonzH9mVRbFKDOaNd7EcJ5jq/V/EjJfyHbi2y5 qbc2wfzJKJIeANxxw17UsyUg1Y7tjJHSLCcugwexe7fuVZ/gVZMmha59u4dmPzZVZIux Hgdg== 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=CYZuCoVftt/604EImkM4XMKjOD3coc1+JWSY63aK1oA=; b=FfjOlOB2YX2x9uBuCj7eLJILF6OEpBM4FcXIDilWQvzy3Obp9OJl0qKf/2EuvjwQao eWTipygzSUJi78CpuzhtMFIKxanAJEQ//SD+eE9vt6kpl4vWaJta0gLPbqlgugD4AoCh qGCwhiuWsYgNwokItlSLuLA5Ii9EIe7FbJexufzhscqEOpd2MitQzBVkZRKlnqCITrsM BCovs856w3KfLJRGOIx+zixUqpmxvmhY4tzHdnwPlji1zFHyIv3f7+NKNLICZrCgPIpO vph0HGCH5KABIz5Si59CAbtnpCnpWxBW1uL3AYmq7V9QJZ8R+3LU7lBULGOsJCpVOi40 asWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gwn0LUxu; 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 d1si363924ejd.480.2021.06.08.11.33.35; Tue, 08 Jun 2021 11:33: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=gwn0LUxu; 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 S234051AbhFHSeu (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Tue, 8 Jun 2021 14:34:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:57466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234594AbhFHSd1 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 8 Jun 2021 14:33:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 08B7461352; Tue, 8 Jun 2021 18:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623177070; bh=CWeS5i/+RF7V1eLe4r5Oz2NdythiD74Hb7HHuNDs9wg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gwn0LUxuoCbvxfENGVET7SqAprOzJqT1ZCAMRpcRS7ubT9nCC8mr0v6f0cBSJFWar //wyQ/FPvFNFtczxJw6kmRy1uzMSUMn7CC5xYsiZ9lPaKCMThpnT2aygdADaCuy9Oe B6yUIYV5JSYgj2Cfyj04mIWq+Upfb8hRZkBmXhuo= 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.14 21/47] pid: take a reference when initializing `cad_pid` Date: Tue, 8 Jun 2021 20:27:04 +0200 Message-Id: <20210608175931.173888153@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175930.477274100@linuxfoundation.org> References: <20210608175930.477274100@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 @@ -1054,7 +1054,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);