From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=IxbED0gM; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 23A055A0265 for ; Fri, 06 Mar 2026 12:01:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1772794902; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jkj2uV/hdp4q8+Z1qOymrgxLD3npy1ZDi+GF0TazUzk=; b=IxbED0gM1PKgBhGhmaCOOAptyVwmrJg6OfqXYfsNRS5gRmWnVrG0hHYbitRlo0FdXBpV39 NGaeCbCuRG4M1CLDDdnBle5DWkO+eT09kiFWglz7FZ30v5DegbxKV+Em67sorcPbXv61uG eeqO4RYfVUHxrHDZZBK48X4dfE9tb0M= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-528-kB7sV6djOwma-AeTBTWzrQ-1; Fri, 06 Mar 2026 06:01:40 -0500 X-MC-Unique: kB7sV6djOwma-AeTBTWzrQ-1 X-Mimecast-MFC-AGG-ID: kB7sV6djOwma-AeTBTWzrQ_1772794899 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-439da07c5bfso339028f8f.1 for ; Fri, 06 Mar 2026 03:01:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772794899; x=1773399699; h=date:content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jkj2uV/hdp4q8+Z1qOymrgxLD3npy1ZDi+GF0TazUzk=; b=rct9mbQtgkH53NNA+2/N95a2Q/9Dgmv7jiE6ibdvGKHBtq3RbpM3zSUjIIZMTofHZG COUEWO7zi0MVlM2X6B+5uTQEJE2e0FaIOp5Y5j5ztXCyJZaPPaBdE2aR2A+q51VGLcbG n/YJMB+CbRBvXKfGOthXuC3MjWSGgk5MWHI8CcBoMY7hctkm8GV2CFIDifwrrUtb5INa q+x9WR2ZzcJzOZEMzIr6I1Uqsjuxx7K/D5yBVKkhxTvWEqsac1ZkwRAkEHcFP7tFVHFE W36q/dTMOzytv9xmNh+PGzIM+2Zqqpn2eKR1qIlTqSoj8AzbCOKl/sImdDXC1P4qsRLD TtuA== X-Gm-Message-State: AOJu0YxqCF2v/4WOendccz3AulQFdoRmH3cjGbXdx/ZkvQJKPAyaAbsK wFKCE6PZjmKFr6MaOTxeZLFaJQRbWVXhDW4xhIYUiz+bws0YGq6hTvjeX/tsQVqKdHSFa48FajP l21VwpGzUhr93lE+pasjzElYEEzVBxwdBgzyaUhGdPHPSzlK+JhQ4AvISQyssjA== X-Gm-Gg: ATEYQzwCl2fCgMuuKCoz6dkMeF6UrHZ2aXPKRSECpeUJRJ4nN/9V17f2B2jU0MYFoNs os5h3eYWduVOVaLVtWSFryKDIzV88oQfaxC7+yBfsnQK4VW1t/T3kTvhccDbW+VTPjHLOUwZYVt 1v8iY4/smQOP/hiKf9BmxGy7+rTMoe3esMar33G46z1rpom/JWoKG3MLCU2JQagF5sqHvPmVExO U//HnAL4d7rqfsbeYLHV0GkZZfaHfDAHfEEDUcUDnBX5hLNnrm0As1tut35nZoBnhABUy/2hIRD L83E8jkU1KrOcPKygZZKcDDZPtZsw2YSzTSeAzt4kA4oO4en1KcGInmvUwDdvEiAsAOACHHphGI 3o5PohAZMEgzArR1lyOwoSLOB5jSTM2x2kGUKH3r0/QetZqkUug== X-Received: by 2002:a05:6000:1acc:b0:436:3707:2bf0 with SMTP id ffacd0b85a97d-439da6698d9mr2788641f8f.35.1772794899003; Fri, 06 Mar 2026 03:01:39 -0800 (PST) X-Received: by 2002:a05:6000:1acc:b0:436:3707:2bf0 with SMTP id ffacd0b85a97d-439da6698d9mr2788563f8f.35.1772794898435; Fri, 06 Mar 2026 03:01:38 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439dad977f8sm3089920f8f.9.2026.03.06.03.01.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 03:01:37 -0800 (PST) From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH v3] iov: Add iov_truncate() helper and use it in vu handlers Message-ID: <20260306120136.2fa55241@elisabeth> In-Reply-To: References: <20260305125648.3720714-1-lvivier@redhat.com> <20260306083530.56648725@elisabeth> <20260306092504.54432a5f@elisabeth> <28c1ce99-b58a-48c7-9ab8-53bd8926809f@redhat.com> <8dd07b62-b7d1-46c6-8378-da8e11d81a67@redhat.com> <20260306115224.787f7bd0@elisabeth> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Fri, 06 Mar 2026 12:01:37 +0100 (CET) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Wdb5tAECAxouXlkuElrjVeFd5bHq9cz41wo9g9Zx3M0_1772794899 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: FNRSXHDILIDF7ARUBQKAHN2EODDDKCMY X-Message-ID-Hash: FNRSXHDILIDF7ARUBQKAHN2EODDDKCMY X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 6 Mar 2026 11:56:30 +0100 Laurent Vivier wrote: > On 3/6/26 11:52, Stefano Brivio wrote: > >> This seems to fix the problem for me. > >> > >> Do you want a separate patch or to merge with this one? > > A separate patch would be nice, so that I don't have to convert spaces > > back to tabs myself, and I guess it might deserve a new review anyway... > > I'm not sure to understand... > > My question was in fact: do I merge the fix inside this patch or do I send two separate > patches in a series (this one, keep v3, and another patch to fix the issue reported by > coverity). Oh gosh sorry, by separate patch I meant (not really obvious!) a single v4 with everything, that can be reviewed stand-alone. Even if the issue was not reported earlier but pre-existing (I'm not sure), I think fixing it in the same patch that triggers the report would be entirely reasonable. I meant I wouldn't merge your subsequent changes while applying v3 myself. -- Stefano