Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ouqKJ-000125-0P for mharc-qemu-trivial@gnu.org; Tue, 15 Nov 2022 02:25:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouqK6-0000x4-OG; Tue, 15 Nov 2022 02:25:35 -0500 Received: from mail.weilnetz.de ([37.120.169.71] helo=mail.v2201612906741603.powersrv.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouqK4-0008U0-74; Tue, 15 Nov 2022 02:25:34 -0500 Received: from [192.168.178.59] (p5b151d14.dip0.t-ipconnect.de [91.21.29.20]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.v2201612906741603.powersrv.de (Postfix) with ESMTPSA id 910F5DA0D24; Tue, 15 Nov 2022 08:25:28 +0100 (CET) Message-ID: <4a950024-4758-b328-5968-656d0e72b043@weilnetz.de> Date: Tue, 15 Nov 2022 08:25:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH for-7.2 v2 3/4] libvhost-user: Fix two more format strings To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Stefan Hajnoczi , Laurent Vivier References: <20221105102448.436469-1-sw@weilnetz.de> <20221105102448.436469-4-sw@weilnetz.de> From: Stefan Weil In-Reply-To: <20221105102448.436469-4-sw@weilnetz.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=37.120.169.71; envelope-from=sw@weilnetz.de; helo=mail.v2201612906741603.powersrv.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2022 07:25:40 -0000 Am 05.11.22 um 11:24 schrieb Stefan Weil: > This fix is required for 32 bit host. The bug was detected by CI > for arm-linux, but is also relevant for i386-linux. > > Reported-by: Stefan Hajnoczi > Signed-off-by: Stefan Weil > --- > subprojects/libvhost-user/libvhost-user.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/subprojects/libvhost-user/libvhost-user.c b/subprojects/libvhost-user/libvhost-user.c > index d67953a1c3..80f9952e71 100644 > --- a/subprojects/libvhost-user/libvhost-user.c > +++ b/subprojects/libvhost-user/libvhost-user.c > @@ -651,7 +651,8 @@ generate_faults(VuDev *dev) { > > if (ioctl(dev->postcopy_ufd, UFFDIO_REGISTER, ®_struct)) { > vu_panic(dev, "%s: Failed to userfault region %d " > - "@%" PRIx64 " + size:%zx offset: %zx: (ufd=%d)%s\n", > + "@%" PRIx64 " + size:%" PRIx64 " offset: %" PRIx64 > + ": (ufd=%d)%s\n", > __func__, i, > dev_region->mmap_addr, > dev_region->size, dev_region->mmap_offset, There is still no review for this patch. I added "for-7.2" to the subject here in my answer. How can we get all 4 patches of this series into the new release? Stefan