Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3339551pxb; Mon, 18 Apr 2022 23:33:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLFmoGTZ4+kUKCpuC3HT27+c++mENsFb1X9xGduKWV1Jwb3b9Y9iFhREKfnJpVGzP5X0VW X-Received: by 2002:a17:907:7b92:b0:6db:71f1:fc20 with SMTP id ne18-20020a1709077b9200b006db71f1fc20mr11472437ejc.343.1650349990870; Mon, 18 Apr 2022 23:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650349990; cv=none; d=google.com; s=arc-20160816; b=Qq0YQfb8TKlqEpAzZsmYKgTlUqE9+807AAkNVJ52KUJ086qb3lnai/bWDzEpJCuodR f5MQqjlQmZCOg7lVyN6lYjkAVPCSYZd95wp2SYau64+n9DYPwJn8vYYY1E34lSK3Shxp N4CrUyJ2o8xficZOkL9L2o3LdY44UVaOKQratxVS75+/CHfTZDNMnqgLhslmRp4XYMnK j8Uf6ozXNXQQb2qchhREHNz6a/UXCoQm5MherUslvP32NpzR8vbbsW6t9WBLj2x8WbVb 0ChqkCVeSTUqTSg2TEIX+9lKm8fjo1Nt/RTv+bsbJZPbKXbv8udWJ2IvXCa1a4XpQDKH cv6w== 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=Dse1uXDI91kZYp1Xi+y8Mn1jIfmSjZi4XaCXKpfp2+o=; b=ziEelMW11nKHoVll2xAL++FHyf86Vi2bl5+zQgpku7b9D9+uP102ZSiS65q5Jb8IEa B8f0G1Yq873yUwzNUpDvkL77OJTmIywGDHVERtafPDKmt53JfG6tvdJfo+DbTLCdFQlZ 0DSCuW8Lnh3ydVNQQAv8oh3xRytp1lOOhqS6tXZW7Xo5zkLlZnOs1XTVhs77BmZKNi/C bkWY1pbIlN0noHd44kRaQHm4RylHLsKuJPq6uT25mV1SCEwmdziJ/my0eFo7qwU5xQGD MX2tqynX9KsHCxPgPpbeHSXsnxrlX3k7S/SlM95bC8VE1UP/NJEXe43iRvamCq5Cx29R 5O+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EZgIiIjW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a1709065e0f00b006e86e4fd0c0si7675106eju.819.2022.04.18.23.32.45; Mon, 18 Apr 2022 23:33:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EZgIiIjW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S233571AbiDRMZM (ORCPT + 99 others); Mon, 18 Apr 2022 08:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238500AbiDRMWa (ORCPT ); Mon, 18 Apr 2022 08:22:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A43F61DA60; Mon, 18 Apr 2022 05:17:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4143C60F01; Mon, 18 Apr 2022 12:17:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C576C385A7; Mon, 18 Apr 2022 12:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650284265; bh=umFTfXUjPTfRuZWvVFLcMfF4nfy/Jnjf1wlhjM1N+Fw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EZgIiIjWX8IbD0O626ofbNZByvszfVs62hwh/a+1r60YBVZki4tEossx0WlMlF690 Tvmw2bZcA9RRZ44SWFUgzO2gqYnN25ydY2lLUVsM+sYXFvgtzY0DztErSDDlQL3k4m bQ13Qcz+AStzgQ5LzUrWM9gRBjXxpWwUviOhtQzE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Clark , Sasha Levin Subject: [PATCH 5.17 058/219] drm/msm: Add missing put_task_struct() in debugfs path Date: Mon, 18 Apr 2022 14:10:27 +0200 Message-Id: <20220418121206.991520017@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121203.462784814@linuxfoundation.org> References: <20220418121203.462784814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Clark [ Upstream commit ac3e4f42d5ec459f701743debd9c1ad2f2247402 ] Fixes: 25faf2f2e065 ("drm/msm: Show process names in gem_describe") Signed-off-by: Rob Clark Link: https://lore.kernel.org/r/20220317184550.227991-1-robdclark@gmail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/msm_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c index 02b9ae65a96a..a4f61972667b 100644 --- a/drivers/gpu/drm/msm/msm_gem.c +++ b/drivers/gpu/drm/msm/msm_gem.c @@ -926,6 +926,7 @@ void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m, get_pid_task(aspace->pid, PIDTYPE_PID); if (task) { comm = kstrdup(task->comm, GFP_KERNEL); + put_task_struct(task); } else { comm = NULL; } -- 2.35.1