From patchwork Mon Nov 6 15:47:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10043779 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F0F2603FF for ; Mon, 6 Nov 2017 16:00:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BEDD29D89 for ; Mon, 6 Nov 2017 16:00:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8115929D8A; Mon, 6 Nov 2017 16:00:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id E491229D9A for ; Mon, 6 Nov 2017 16:00:03 +0000 (UTC) Received: from localhost ([::1]:48823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBjoh-0007g4-4v for patchwork-qemu-devel@patchwork.kernel.org; Mon, 06 Nov 2017 11:00:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBjdk-0007Bb-R6 for qemu-devel@nongnu.org; Mon, 06 Nov 2017 10:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBjdj-0000Vw-PM for qemu-devel@nongnu.org; Mon, 06 Nov 2017 10:48:44 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:56914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBjdf-0000R6-46; Mon, 06 Nov 2017 10:48:39 -0500 Received: by mail-pg0-x244.google.com with SMTP id m18so8494046pgd.13; Mon, 06 Nov 2017 07:48:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ml7HHgjRn40HRIy7B5QtPZ8X4ufJWKltIpewiKBGh3c=; b=awy4Bl6KgWHS4UpYt2OKQZ7Xm5MlFdunJwEplqjss38sHA8L9c26lI2fmmXe+IWeBi PWs6i6MUCvh/D1HH9Nx4MgAGWkfIo5HMsdCI4l0NvRh9rMFhEOpIMug3gemxcZYwIJSG 30ceGCXb/WVFec0WV2YugMpLhtxLxc1glFLQVkOlaZ9/qaC6h37v6mwtutuXWPo8OhrO 3mQqMP+K68JgXzwrnvMCLrsX1w+xa8/BQ5VWjTuOqLMY5+hiqi+Fq8xXhJ+Ctu7NnpJr slCBi6jB/rS81ep3Oguy1P/9Ti4YO1kv0SRv8Bm5pNf7Kpqs8jzCP0dkrQ8MxXUwmG+z 0/hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ml7HHgjRn40HRIy7B5QtPZ8X4ufJWKltIpewiKBGh3c=; b=iMHr1tIkHc0BAY8IfG6yQLgeV32F7pZ/IDaAAHqsvI4q+79M2eBva9TsCwIsusrml+ +7hVoCaycr0k4u2sZtuK/vn4sZrFs98K7tviSiJZdaVncENkxdgHiCGPbRVH8pA/hAMp V3x5Vz0Z4zgs+8MED6DHHlY00i3R96++YQfIHUwECaiRSc+t8iDCTflb6DDQMglWOvGW KXkp34z7dfnap0OIdbHqLkx/M31EXUbSBFlC89maZ6ovqcR6kdpLt24aNF15kZ1rpl3p OZzJL1FYgqsbVSGNj2qwf+2FrNS5hLGXi7xkUEMWUHFMkyEj7MdEQ4tUG2mKMuD0EQQD tM+w== X-Gm-Message-State: AMCzsaW05o6haLH37ZTeLHRXxmuxtF6LpGGfL2X7v1mTUYRhnFbWit3q Fy7qitBjJuDrN0wncamzbaccWERTvZ4= X-Google-Smtp-Source: ABhQp+QdW7OgioSgR99vOZ1j5qvvyrEjFsqCMRz+bSQ3avEcIFeMqfpz4tRUYCbjyUwj2aQOm6EuXA== X-Received: by 10.99.42.210 with SMTP id q201mr15366029pgq.7.1509983317940; Mon, 06 Nov 2017 07:48:37 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id x1sm22719590pfh.113.2017.11.06.07.48.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2017 07:48:37 -0800 (PST) From: Andrey Smirnov To: qemu-arm@nongnu.org Date: Mon, 6 Nov 2017 07:47:52 -0800 Message-Id: <20171106154813.19936-10-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171106154813.19936-1-andrew.smirnov@gmail.com> References: <20171106154813.19936-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::244 Subject: [Qemu-devel] [PATCH v3 09/30] imx_fec: Fix a typo in imx_enet_receive() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Andrey Smirnov , Jason Wang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, yurovsky@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Cc: Peter Maydell Cc: Jason Wang Cc: Philippe Mathieu-Daudé Cc: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Cc: yurovsky@gmail.com Signed-off-by: Andrey Smirnov Reviewed-by: Peter Maydell --- hw/net/imx_fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index eefb3b2c62..48d012cad6 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -1121,7 +1121,7 @@ static ssize_t imx_enet_receive(NetClientState *nc, const uint8_t *buf, size += 2; } - /* Huge frames are truncted. */ + /* Huge frames are truncated. */ if (size > s->regs[ENET_FTRL]) { size = s->regs[ENET_FTRL]; flags |= ENET_BD_TR | ENET_BD_LG;