From patchwork Tue Mar 1 15:57:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Galvan X-Patchwork-Id: 8466521 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A52E2C0553 for ; Tue, 1 Mar 2016 16:04:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13F332012D for ; Tue, 1 Mar 2016 16:04:21 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 518AC200F0 for ; Tue, 1 Mar 2016 16:04:20 +0000 (UTC) Received: from localhost ([::1]:50599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aammZ-00010U-PB for patchwork-qemu-devel@patchwork.kernel.org; Tue, 01 Mar 2016 11:04:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aamgf-0007FL-2t 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 1aamga-0006NY-Sg for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:13 -0500 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:34406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aamga-0006NQ-OB for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:08 -0500 Received: by mail-qg0-x22e.google.com with SMTP id b67so145241579qgb.1 for ; Tue, 01 Mar 2016 07:58:08 -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=xwOzMRmw5qGFBLIrjUmtRPQq+D0nOMHD2v8bs2s/rO4=; b=A+28lZiI5q4dmAMG+qlpKVQ3ct2GUUP3DBuNKRwsQr0T8GYOM0DMSgt3rqbwahqBQX HjDaKeSfjm83DReMAaSLGn5n4esiM4PcLsL7i1HddCcx+iCdI/9A5jhLdDWAqj8d0IaA y2YvWZsIkLxOggVxcJ+69NmDzEKIe9KY8Aj/g= 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=xwOzMRmw5qGFBLIrjUmtRPQq+D0nOMHD2v8bs2s/rO4=; b=Oc2CB2JXodg16vB7lkg2t4vm1zplv7QXM+jCfBPur6oa11Z/XbMcVoAjHrWEebdqyc 0qCWm22BsfRqZrGjJjgm+l/C3EwAs/D2DNtyG+79ehrqcLu41po0u0wr7yA50grilYn+ jVfmcvd5VGMSlAZ+P395xUANSPeRF8xZUiZGVaKuSOhEEtw1KeVbfWwIi803F8fopHxn 2h4ladr9DV7DdI3OFSw9yaT38DsEel7fTbcJ5Unp+O/SpF+dWLNwdy9IUc8iDm19DnWy jOnRt3cy3+ybUhF0szlmWPi5seRTLvBSP7ttHRdwbKlESX/45kop/f1ujGPiAI2ezhSp 1l3A== X-Gm-Message-State: AD7BkJLqPkbjxqgA/DaXOFySHsAIVmYMDF0bL/dQJyOxPWOobvsupMYrlKfjGgdIRmoQSaug X-Received: by 10.140.236.68 with SMTP id h65mr29086112qhc.13.1456847888298; Tue, 01 Mar 2016 07:58:08 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 07:58:08 -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:35 -0300 Message-Id: <1456847859-4771-9-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::22e Subject: [Qemu-devel] [PATCH v2 09/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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- include/qom/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 2.7.1 diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 1df7cb4..0d23e0a 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -148,7 +148,7 @@ typedef struct CPUClass { int is_write, int is_user, uintptr_t retaddr); bool (*virtio_is_big_endian)(CPUState *cpu); int (*memory_rw_debug)(CPUState *cpu, vaddr addr, - uint8_t *buf, int len, bool is_write); + uint8_t *buf, size_t len, bool is_write); void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); void (*dump_statistics)(CPUState *cpu, FILE *f,