From patchwork Tue Mar 1 15:57:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Galvan X-Patchwork-Id: 590617 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BCDC4140BB2 for ; Wed, 2 Mar 2016 03:03:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=tallertechnologies.com header.i=@tallertechnologies.com header.b=7ANZJ1wd; dkim-atps=neutral Received: from localhost ([::1]:50590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aamlg-000898-T9 for incoming@patchwork.ozlabs.org; Tue, 01 Mar 2016 11:03:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aamgf-0007FI-2c for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aamgd-0006Of-LN for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:13 -0500 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:33402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aamgd-0006OV-IM for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:11 -0500 Received: by mail-qg0-x22f.google.com with SMTP id d32so89213212qgd.0 for ; Tue, 01 Mar 2016 07:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tallertechnologies.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=DaN9h9WK/q4gXyi3ALBIqHeGmFBZrXlZq5o0751/EiA=; b=7ANZJ1wdq07+MKyybJsbhvziDP8k3qUjVNZdvSkmN+O+TUiAqxXKqL6M6serwvraQi p9EIasltalQ+FuNENw/QktPaojx+6tm2FYy8eJ8kEMePdUgJBEah2t37ivaULtEP/RFO q7jeucjlchMsajUXjgYVFVFNflavFXo8Ftlek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=DaN9h9WK/q4gXyi3ALBIqHeGmFBZrXlZq5o0751/EiA=; b=UKNqkArcnWTZRCQ3vLvrNc49OFBFkZhI9j+tnbPEucA0rdQ+pyYiva9CtBoAw3MVxU yc6KvwM7uf3UWmyIqym4DCLBD5UbaO5JAUuX5yP2t5yC9abw2i1MiQhCV5gO8fDq/cQm gGA2H9UfPvWhqbUe2xtIiuslPrkevx4ZgePaMsdxEi4xA3LApDj5fgGocmpBo4YL912G 1dR233xnADymOLgnFbVGKILytuLTFxOKIB/CuLjlj7Clj2N0s1nj8UGireNS5cOileG0 RvBhrprZmzaZf/0CKAC7Isu2MzDXKRR/BxHukKSib69KpPecTu5EnKrFJ8NccAe1Jx9D CxTQ== X-Gm-Message-State: AD7BkJL5I95RkpaxMtfDgk4uTLvXUcze2apjCI/Pw/I7/SbDr1EovRAmd/3j92qk/XNxM3Wd X-Received: by 10.140.235.137 with SMTP id g131mr29186778qhc.43.1456847891116; Tue, 01 Mar 2016 07:58:11 -0800 (PST) Received: from martin-galvan.dominio.tallertechnologies.com ([200.69.202.173]) by smtp.gmail.com with ESMTPSA id 123sm13109030qhu.22.2016.03.01.07.58.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 07:58:10 -0800 (PST) From: Martin Galvan To: qemu-devel@nongnu.org, peter.maydell@linaro.org, pbonzini@redhat.com, edgar.iglesias@gmail.com, rth@twiddle.net, aurelien@aurel32.net, kraxel@redhat.com, blauwirbel@gmail.com, lcapitulino@redhat.com, armbru@redhat.com, afaerber@suse.de, dmitry@daynix.com Date: Tue, 1 Mar 2016 12:57:36 -0300 Message-Id: <1456847859-4771-10-git-send-email-martin.galvan@tallertechnologies.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456847859-4771-1-git-send-email-martin.galvan@tallertechnologies.com> References: <1456847650-4476-1-git-send-email-martin.galvan@tallertechnologies.com> <1456847859-4771-1-git-send-email-martin.galvan@tallertechnologies.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c04::22f Subject: [Qemu-devel] [PATCH v2 10/13] Use unsigned types for the 'len' argument of all memory read/write functions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org --- scripts/coverity-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 2.7.1 diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c index ee5bf9d..97759b0 100644 --- a/scripts/coverity-model.c +++ b/scripts/coverity-model.c @@ -68,7 +68,7 @@ static void __bufread(uint8_t *buf, ssize_t len) } MemTxResult address_space_rw(AddressSpace *as, hwaddr addr, MemTxAttrs attrs, - uint8_t *buf, int len, bool is_write) + uint8_t *buf, size_t len, bool is_write) { MemTxResult result;