From patchwork Thu Dec 14 14:52:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10112399 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 763DC6019C for ; Thu, 14 Dec 2017 15:01:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6789828869 for ; Thu, 14 Dec 2017 15:01:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C33A29004; Thu, 14 Dec 2017 15:01:51 +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 DC5CA28869 for ; Thu, 14 Dec 2017 15:01:50 +0000 (UTC) Received: from localhost ([::1]:41420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePV1B-0008ST-RP for patchwork-qemu-devel@patchwork.kernel.org; Thu, 14 Dec 2017 10:01:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePUtG-0001Y7-CD for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePUtF-0000jJ-Nn for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:38 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:46611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePUtC-0000ZR-2p; Thu, 14 Dec 2017 09:53:34 -0500 Received: by mail-pg0-x241.google.com with SMTP id b11so3542124pgu.13; Thu, 14 Dec 2017 06:53:33 -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=Uh6BWoCeucm/RqhnrLog4O3BSbZ2UG1LTw2gH+giLCc=; b=ay2Pn57Eiw9kHFqVexz+X5sWaVnwyeLokNSB41N9L6QwwSM8WjVm9E4fNQcU+4Jfw2 B3ORfVO2jM+kOXuGJVA7Gbieyo+NqfQcf/pend8qSu71hNQD5UxkppEwh05+TQBefHiQ j8jBg/Y9cJt5hbx+xtFDFZLlW+XPKqnrZwzXrHQ6HTWDtzpeRbNg7MLiSc/rcUUNMi2s 86Zd1jG/Ax3QBQb4TEHMISS9Xr/vbri49edlMo5sLbGT4fHFMKPPfk2t28oHI8kYfnB8 DKOzbusjDyrcaOGzDIwlNSyrjF6BaBpTxHbMnuehL59Knt4vyOZsSBKpgb4lXpRW4MjF W+zA== 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=Uh6BWoCeucm/RqhnrLog4O3BSbZ2UG1LTw2gH+giLCc=; b=RgV6pRCR5HRxhMDHkWn19uY0jMEyegP0uBfkCyGeVoWojObkCxgPaNQaf40UQPnTDP 3NF3K8GFGxgbkL1dI/uS3GftxSmdWbIofC+LbyWpDjOvPQ2ljIxtCerpfrpgrlCYjlJ+ 1vwO8GobSaL47Q5kf0BlVQzkfQR6rd+YbQByplHsAf75X7KOpe8zxjPaLGpZzWM2/CK6 faxUOhWEENNxeTAA6YEg0F47kxmOQm61UzbZfLI9G/uRjcFNAAm244DOlqYnQsuhDyMK DJkRGmvtybrwAbcVvuwvTnVYTZRyxJKsytsGUIEbD/wnrYlPJMBVsw9YC70UzLBBSwR2 tVLg== X-Gm-Message-State: AKGB3mIlBwU0GpSmckWx8OUrkKpjTHr0A2Bi30oDV5FL6UptoWUFHFnq 1+RciO9OlkBNcns1CDuH3jy7MUPf X-Google-Smtp-Source: ACJfBov96fyj2sT/cOd14LVzh2afM6Oa2tHAVFxWAhFNcbbF0MlbTD4EaVpVncATKj/dH5ybGJDImg== X-Received: by 10.99.45.4 with SMTP id t4mr8823377pgt.254.1513263212787; Thu, 14 Dec 2017 06:53:32 -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 e7sm8757439pfj.44.2017.12.14.06.53.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 06:53:32 -0800 (PST) From: Andrey Smirnov To: qemu-arm@nongnu.org Date: Thu, 14 Dec 2017 06:52:50 -0800 Message-Id: <20171214145255.31545-11-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171214145255.31545-1-andrew.smirnov@gmail.com> References: <20171214145255.31545-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::241 Subject: [Qemu-devel] [PATCH v2 10/15] 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 Reviewed-by: Peter Maydell Signed-off-by: Andrey Smirnov --- 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;