Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1171125lqa; Sun, 28 Apr 2024 23:25:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5XD5mlqLLuBC5kJXjGFtVQXFtKL/qyPxsWbkz34k6pDQ3J6fCp3AZzy25Qge3sFEshVrHkSznKPLxb45T9ugv7gIVkrHhS/rkQkWpRg== X-Google-Smtp-Source: AGHT+IGV8Aa5nBF5rGnotsx1OCZ/rHu8YcIFqYUq+I65e0643bkSbciGI+0luCIPYrfzoHeJPwkr X-Received: by 2002:a17:906:53c6:b0:a55:ac3d:5871 with SMTP id p6-20020a17090653c600b00a55ac3d5871mr5149822ejo.77.1714371920118; Sun, 28 Apr 2024 23:25:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714371920; cv=pass; d=google.com; s=arc-20160816; b=aa87r1mR0AUkoRcxSW7WY5d70GxFY07CJiefQ7foz6rfMNN2IHlMCF/BYCcBTCBW/J OpKjlv2FPt8tXcnpGHl6As0hybNLJB+wmded6hRgZdGvLIV1wzklEmLWK5NVFJdRs6C5 0+3W8Y9q7SS5pi1b7Pi+7OsS+bxNsAyTiX3MJJpd0JSzng5rOT6JiSCOpX3QV88N2JeW X1+ooUIJvGH8IM17tFeYn6oi6134wgUQ/SX1N7NUCuqHyvP90CDEFabTPN5DFt0LOiop 9tQWr/eNLRNgMS+lCF6AafBkFHlj8Gg0HYe+3Xj5KQXqNuT+DU8bDbN9qyXW/Ih7Grl0 xj2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:subject:references:cc:to:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Vk3HT11dsQJBG0qes20Skl5rvhJPwT7CLw5IwZVPPIo=; fh=hz1Bl2P+ueL0jiEGXDNM6R05GMezpPRoXCWZCf8tqkI=; b=ng9owzQO+hneCzxFiAj4T/kRcKAToh26OFOHChdU0qF68XQfq8R2XS/tLQHzIUY0vZ OP67Jedkwvl7wzwj5XliY8O1VdTZ/+kFqvEup3EPAdFpEQpLUpPdJzAJduvOLmTHMCey JNuzN//Zt865YaAm6Hq0dcG7cabx3ye67tYedBGELjdGwmz+V5A/LssFBp+MVCGC1KJI DcoklvYD8gqWR1wPU4CeIjR+SvssJsuAhS6eHqaOItXGvrnF0E+p6F8PRS78JLXJ3iXo l8d7rfqZPGJQW3FxjQ+Ljn3VvxmXfg0CYm6fhZuI/q0ZtJ4Jr4axpJOEYfzAF0SKcu1C I1sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=ADyRSW2j; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-161795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hq25-20020a1709073f1900b00a587cdfdd75si8555671ejc.888.2024.04.28.23.25.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 23:25:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=ADyRSW2j; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-161795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D76451F220D2 for ; Mon, 29 Apr 2024 06:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDBCD111A5; Mon, 29 Apr 2024 06:25:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="ADyRSW2j" Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DC33134A6; Mon, 29 Apr 2024 06:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714371907; cv=none; b=MJFXZbnHZvrbSLIRLb1B0i3YHANE4BEAZk6rXWTHuDAPMK+HFl4b5vF5kBE7N07MEdHQny5Q5EH5C7oJN6BCK5IoEuQGWh64x/Dh1RIVnVLCmx2f83tPJ9xFZlSfGYcKK8MTVohdmLMSItVRpjg6kx9Tnxc9x1vxwHNlLQxXMb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714371907; c=relaxed/simple; bh=Vk3HT11dsQJBG0qes20Skl5rvhJPwT7CLw5IwZVPPIo=; h=Message-ID:Date:MIME-Version:To:Cc:References:Subject:From: In-Reply-To:Content-Type; b=DJDdNNX57yiNAA5FxsCFUMMIaERiYmk6v47f2X297eIyzdHvRWk02tMaHw7TQMHDVIGFiuPKT+an9cUxR/vooZeXyAUrwzXsAkZWmVwUQe/NIUh8YUV/jZGj7EnJpb6Vvck398UkTZgXePvCHcrvdW/9Kf1w0Fxay/MnlR3Hxhg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=ADyRSW2j; arc=none smtp.client-ip=212.227.15.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1714371883; x=1714976683; i=markus.elfring@web.de; bh=Vk3HT11dsQJBG0qes20Skl5rvhJPwT7CLw5IwZVPPIo=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:To:Cc:References: Subject:From:In-Reply-To:Content-Type:Content-Transfer-Encoding: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=ADyRSW2jovDcN47KF529Z37V8VkUMRpaaCUK4gd+Je6Dq8TPiqqd3Lxqsm1M9Sq1 2f4BafesjTMVX0I45HLI3A8aXC/VwahN6pjm1WRea/zq/TkCAH1AKT2nvETIXOw9J xPHcKZZjXIr7+DRzYtSdKaj9dMMAtEIhXpMf1Wo/7bEiy3kV+JHsw2e9p0XI2+YDk AJ/9k8qrepBaIsCuzrqTf7alkF2erwBQ43BfmyDfeF4wqur3zG74PmsBoclBW1ayn bQypAonA3+SAkHEE1FOCPY9Z5i29xblMHkW8BByydNkh0ldKhGomAq4wS4KJJowCR z8vNHTum2qA8fgagow== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MElZP-1rtqS03SrD-003T55; Mon, 29 Apr 2024 08:24:43 +0200 Message-ID: Date: Mon, 29 Apr 2024 08:24:39 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Weishi Li , dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev, kernel-janitors@vger.kernel.org, Chia-I Wu , Daniel Vetter , Dave Airlie , Gerd Hoffmann , Gurchetan Singh , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: LKML References: <20240402093922.268368-1-liweishi@kylinos.cn> Subject: Re: [PATCH] drm/virtio: fix memory leak of vbuf Content-Language: en-GB From: Markus Elfring In-Reply-To: <20240402093922.268368-1-liweishi@kylinos.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:uZirKThhywvNbW5IfnrENAaJ8KZiCv2IZVH7GAXIXACHWRatvWJ yFVAIi2ubK91+Hx+oBRfmkC5+zu5ST5Xx5RfXZ1iDWV4id8mhtmN53tiC8BmLj7CANU3/ai phrv83UtH/+Kdv4TrwuBY6FU7S0TLw4tlnuVHa3XmdNAaoU56plIT3h8YGXI8CpwgaCUVuK XT+6lHSLgL2N1vVVOVxTw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:tHpQdTEll/0=;UvcfWdViFkDpE1bsJSpUd9EWf1R fBRWADUQpQncmAkqyzeNaTORNfMU/jNMG3w9o/q9OwayGwXJecLHIvVUOaX7PA6Wq+b7FIicC hoAShDWZYwYNfE6TsmBXf2nYT0x/HW5aZcF4aiM2Ziaq+2s1y8WzDSLZtykXRQnYSxFZxVemP bZ5VP2GK++dZHsyMQflzPuMoiQQKBfPHzPLP5On2V92avwguBdnz+m8WKEPcTHkLZ1wflCly2 NgutE8XxcW9oobmS4Q0LCKxJh3aw+jAaXFnEpGvFi5q5VIG94Yz0jswCsTb6GuoalPPm531Y7 Kb32OkT+rLQzbpAjy9qIeGAMu91MetIPXEnS++QJxmMfiI+vq4y6FBlnn5v721950OK1o2CCV mWt3iLs7i9sktsW4PYL3kVQjvXQXqKMGES33VpWXsN3Kgts7QwMjBZFaN0qH3i/IP8jyZ4Qv3 wpNz4FMrLxQZqF9IjJb3JDy5riYBTk/obz7Bucs+GWoD/ybhkPxgYTYkN5MQI0MOqsQhjT85C NDoN9zJhXSDoQ1UPSdadOWZx9inLM92i8/sRI/HUOx6Hlxl3S5eGcAWEgqzq+LsBBGUGNUiD3 0y4AQ+h3n3FjfiDXwZzRiRsEAKsqmVheRWCa8dLfPxQqiVDui2nM/KQVxldvjLQzi/xezSXO+ LX4bp8qRQ7kD5rvApoNMNELsqKZVRpZeCRRrcIyVTE9nrdSY4xGidm19CoGquunJpWOQlgcOK NV8YUVhDfufi6jdxIY3VZTNGat0uOPdqg6vnM9HEVU6jtdS3Jk+NH+rOShrWY52ZjohvE2hfU vi1li9EFpG8r/gBSQs+ZbD3Ikd8ZOLnKCuvxAen6hj2/w= =E2=80=A6 > Therefore, when upload fails=EF=BC=8Cvbuf needs to be free directly. Please choose a corresponding imperative wording for an improved change de= scription. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Do= cumentation/process/submitting-patches.rst?h=3Dv6.9-rc5#n94 Regards, Markus