Message ID | 1456847859-4771-7-git-send-email-martin.galvan@tallertechnologies.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> 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 319981402C4 for <incoming@patchwork.ozlabs.org>; Wed, 2 Mar 2016 02:59:42 +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=Rs4QNX9L; dkim-atps=neutral Received: from localhost ([::1]:50541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1aami4-0001jQ-A4 for incoming@patchwork.ozlabs.org; Tue, 01 Mar 2016 10:59:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <martin.galvan@tallertechnologies.com>) id 1aamgV-0006vr-QC for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <martin.galvan@tallertechnologies.com>) id 1aamgV-0006MV-2X for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:03 -0500 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:35420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <martin.galvan@tallertechnologies.com>) id 1aamgU-0006MN-Uy for qemu-devel@nongnu.org; Tue, 01 Mar 2016 10:58:03 -0500 Received: by mail-qg0-x234.google.com with SMTP id y89so145204664qge.2 for <qemu-devel@nongnu.org>; Tue, 01 Mar 2016 07:58:02 -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=1qHholZmfCfBd9K9lMJEDe4RlZPKYBzzQnVfbhL0VQg=; b=Rs4QNX9LLhOifxVyxAIq442SiJeHsDKsPbO1/HlmlBt8jotvViBa+8EFGklh2vj0NA WnUyZPh/gdh7T/RHEemg/cRoLYLdykOGi/lxESieGAYlybuG+WLec7DqtvdsA4ARCEgO VvT75Gi2SdN13pi3bttsRUX8Kq55CsG/kYgHY= 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=1qHholZmfCfBd9K9lMJEDe4RlZPKYBzzQnVfbhL0VQg=; b=QbifySnL20EHHUEtlw3CZQVCyMkyEtOjpr7+swU4bF1AVPG2opssYVEh107MDq8Ep3 qnyTsLIegcJP7q9BMp0BiuqqnatXjXEwx/TXUyboTnQ3f1uPvOYJSDCBcJbltc+sdiyL K/SGRwc7Cm9Z9qhBJAgSAA1XkxUbDsTMqL/Sg3IcBL2S4z9zDOz5ZN0ojYQ826/zzsXQ EvRHNll672DwZss+/ZktLzY2eAsmO733W6/x6LCoa1o/rdhHlJaM6tPeDtBVv8qjU80V dwNBxtPiqzEZA72VtOFR+eydqe+UZ/A7Rqg1DMfYipghgbhGmz0wfXkuTs+PgEUwx49E cu2Q== X-Gm-Message-State: AD7BkJLVB1rzyfllOLoAOGT+iwK1xrLKS6TCvNX1NLdmlGAx4QIAbOmDgHMxXMbTq90I8+Jd X-Received: by 10.140.141.71 with SMTP id 68mr28788456qhn.82.1456847882596; Tue, 01 Mar 2016 07:58:02 -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.57.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 07:58:02 -0800 (PST) From: Martin Galvan <martin.galvan@tallertechnologies.com> 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:33 -0300 Message-Id: <1456847859-4771-7-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::234 Subject: [Qemu-devel] [PATCH v2 07/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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c index 0c5f793..b992435 100644 --- a/hw/net/xgmac.c +++ b/hw/net/xgmac.c @@ -203,8 +203,8 @@ static void xgmac_write_desc(XgmacState *s, struct desc *d, int rx) static void xgmac_enet_send(XgmacState *s) { struct desc bd; - int frame_size; - int len; + size_t frame_size; + size_t len; uint8_t frame[8192]; uint8_t *ptr;