Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1435618pxb; Mon, 11 Oct 2021 06:04:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQvmr1yHjF/vLLGyollIUkvc803kWrSIW9xpszPI4N8uw8g7rbqiYh2mFnb28o1XGf3HT4 X-Received: by 2002:a05:6402:5ca:: with SMTP id n10mr41457350edx.335.1633957465638; Mon, 11 Oct 2021 06:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633957465; cv=none; d=google.com; s=arc-20160816; b=Ho82Kwn1LyvU2nZQrcDzpJIvB/S3/lh1P1caMYgfO+ET0GjlIjR73ddcD2QhOXHJ9G u7bUQF1Mvpr4xtyDehagbHoLcOp012Sk0oEIwX2ejWnv7MzD6PiJrRJiGzjHULJ0oA4T hpJlVYFJbamozbyELljMUBaBURm/TpgEgedtsrtn3P3VM0GipAU8pC3IVnRvbfCr3Ykt 7dc733r7ySzL8/2kPIYTGnX2hgFx/r2WNrX5P1rhH8LfxOWG9ayGu9wCcg+hq6RUWNTx MkTrSyjISENbv7UR//rMhtrKLfEz4ETmxNGGUwbFjb22mFl6CZs6FyCRi5rB17xg35/O uOlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LUZhr1weIZB5Mgjnu+H1Acau2hOu5RQNiImQsCT566c=; b=O/DtvfpHabJ3uUdX/GJPMlV8Pl/07aAYESMxkET8QrbLVVBA61ZJhO6shHUI9wJA+o O3YI6tNyoLVFOWXnowiOUKvcpo7338EUylNUoSUq3oguXcTLEhjz5U3XI3x1NKi7Dgy/ TyTXkWId4MP9eSgfO4/iCc3JJSpwVdDlVq2MKwGNfdQOgbs+3RGH2ZvIlwoH5LEBJkos N5EpLNh6tMljmr8QZCTMN8dKaYZRsCyBXq1AeGFPji1WpPb8Dn7DPesMOH0zVXlhQGDh cU8s3JPu2vQBL2RqOf40Gr9eddAamza+VgQK/m6ekEm9shzTVH88+RgVC0/WlD+Q+dyS EnNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="NlBxMb+/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk12si17265816ejc.56.2021.10.11.06.03.56; Mon, 11 Oct 2021 06:04:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@redhat.com header.s=mimecast20190719 header.b="NlBxMb+/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235463AbhJKJWA (ORCPT + 99 others); Mon, 11 Oct 2021 05:22:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47262 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235454AbhJKJV7 (ORCPT ); Mon, 11 Oct 2021 05:21:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633943999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LUZhr1weIZB5Mgjnu+H1Acau2hOu5RQNiImQsCT566c=; b=NlBxMb+/cuRu5DSDMsf+QT2uxN3oN5AQPGjawXcZ5wtcl5Agq91D0l+QdofjvSCu/A9UFL A+MagpBkMBiIfBIg22888B+0M4U99cHS3piS1ci8l1zwVzmMa+v9ZdT4k6UzS0bswe5o61 TdPxeEZ3FOVb8genx2x6JhO2y+d+K8I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-555-7pgL72FvMBiUe_PGPZMK2Q-1; Mon, 11 Oct 2021 05:19:56 -0400 X-MC-Unique: 7pgL72FvMBiUe_PGPZMK2Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6C4F8801A92; Mon, 11 Oct 2021 09:19:54 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DE4CB4180; Mon, 11 Oct 2021 09:19:53 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 8EB6018009D4; Mon, 11 Oct 2021 11:19:51 +0200 (CEST) Date: Mon, 11 Oct 2021 11:19:51 +0200 From: Gerd Hoffmann To: Jing Xiangfeng Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/virtio: fix the missed drm_gem_object_put() in virtio_gpu_user_framebuffer_create() Message-ID: <20211011091951.3ncpolbsiavke6rr@sirius.home.kraxel.org> References: <1633770560-11658-1-git-send-email-jingxiangfeng@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1633770560-11658-1-git-send-email-jingxiangfeng@huawei.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 09, 2021 at 05:09:20PM +0800, Jing Xiangfeng wrote: > virtio_gpu_user_framebuffer_create() misses to call drm_gem_object_put() > in an error path. Add the missed function call to fix it. Pushed to drm-misc-next. thanks, Gerd