From patchwork Mon Dec 11 21:30:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10105807 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 256B660751 for ; Mon, 11 Dec 2017 21:38:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1909D29749 for ; Mon, 11 Dec 2017 21:38:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B8AB2991E; Mon, 11 Dec 2017 21:38:32 +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 8491229749 for ; Mon, 11 Dec 2017 21:38:31 +0000 (UTC) Received: from localhost ([::1]:55581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVmP-0000zA-By for patchwork-qemu-devel@patchwork.kernel.org; Mon, 11 Dec 2017 16:38:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVfI-0000uE-06 for qemu-devel@nongnu.org; Mon, 11 Dec 2017 16:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOVfG-0004g7-VL for qemu-devel@nongnu.org; Mon, 11 Dec 2017 16:31:07 -0500 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:39142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOVfA-0004Me-ET; Mon, 11 Dec 2017 16:31:00 -0500 Received: by mail-pf0-x244.google.com with SMTP id l24so12535862pfj.6; Mon, 11 Dec 2017 13:31:00 -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=8mhiqsddd4UsdvaCdG2Ds6Z728EUN/YHwzWh20Kvtzg=; b=Pm1WDWlGQRA44Kd7uwHVnmytPra+7CF72LgkkHjnzyeRCeeA+cWfJSuSI+vRYee+BN EKYRCSjKME6pUVgHlLOyLzFqKb4az8NgYkosMU3XeJxkvvxbztEh2+UdpRGnbBRHTwHs 7sjHMzSztDLMgB9+FJFzzfHCUQWx3+iI+11e9KStxPV7fMOjnjLGkBfttcrJqP+eUsb4 yZ/iOMGoyN7BORA8ED8H+1sGSZUOrsxHC/kmTYfsW7joMrF/iB28Arb6Wp+Sc5qR3nHO bshID1VTD4lpKshCNIOkYJzrZY9geoBmSAaKIzouxdIV+Ki9IqkbApNcFEYsT6no0E0B Li8Q== 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=8mhiqsddd4UsdvaCdG2Ds6Z728EUN/YHwzWh20Kvtzg=; b=NMn16ja/AJ5sIzkZpaK1rrIAf0frz5UYPxRMGJgvjRPzxg0WmexLBY6o83+mrJo0cG SAh7lMH5p4dECSWEuJj1vsk3qgnEp+VAkJTUcH5vwUeC82bsouFCDVrhwazZ6b1D+xyQ M90iQDaMe4l97Wnu/4SEeIfw+y4mRKsK72oKRbqRzutYXCGpRayQgJVEJXaqxuC3g1o7 XuM+9aA6eaUrSrUzQyCEVmAa+Vo9nvrbTqLmz/Ao1OGRK/upy0OOm5WCnbUF/lzJT8fk GFlwIjvoU1T8A4FwVBv4ACea74Ypgkpn7lNw4zBYmgoCgiV1wwl+m8CowwjqzJHcIS9i DwOQ== X-Gm-Message-State: AKGB3mKkZUpIw4468TsGoojJH6Aw6Rre4Mw2BlQHJexRWumJ/4BBhr/B 8ywq1Hc/5eP90RgR//fCrCMgYa/w X-Google-Smtp-Source: ACJfBov7xbHzznVYaUeySf+nj3ZivsN3bxXOBsvvejPZI65z+iSGtXqLAdJ+WKfm5rTCWby3V6DvPA== X-Received: by 10.84.252.146 with SMTP id y18mr1662226pll.70.1513027859320; Mon, 11 Dec 2017 13:30:59 -0800 (PST) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id q10sm25359690pgc.84.2017.12.11.13.30.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2017 13:30:58 -0800 (PST) From: Andrey Smirnov To: qemu-arm@nongnu.org Date: Mon, 11 Dec 2017 13:30:04 -0800 Message-Id: <20171211213007.7353-11-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171211213007.7353-1-andrew.smirnov@gmail.com> References: <20171211213007.7353-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:c00::244 Subject: [Qemu-devel] [PATCH 10/13] 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 6cb9e2e20e..c1cf7f9c58 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -1150,7 +1150,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;