From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 55BE91C0B for ; Mon, 30 Apr 2018 16:07:33 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id a67so5814148wmf.3 for ; Mon, 30 Apr 2018 07:07:33 -0700 (PDT) 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; bh=8FNpyLIZdbSGAPCyZXCxHLYjfD8/uy1axpcKuDX119M=; b=mS30KhKTV6hEktttozv3FX5GQBmE5m0MIm4wieJ2I5C8uHB7G94jnYT1Lp62ew3OY8 rZfyu0hTPlY+H3vO8qtfMtAhvlpeqIO9L84Y7ZOPUJg5k9SxGAcQ/FAE4gkwAoMe7URF Wk21VNr7APeP0VzSOIW5eJ5MszQVvG31RcuC4X16hJvF/NLrjSFrS1RjnobklkeYV5KB FqrpstgtIgfkOHnsYz7DnsAvlU9+CJVuGveTaBZDR4cIXcTB+9PivlG3L4aPNT3i13C3 naNaAkCM4TrD82+CQ42S2xG4ymIXLaM0Rsxv0a34zLQ6qoL7IAp0mVBATn8YrNCPHKUO c/Pw== 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; bh=8FNpyLIZdbSGAPCyZXCxHLYjfD8/uy1axpcKuDX119M=; b=LdyVJHLco6e+3EDowJMEpYwR66FVsDRxdf4JLmUClQB/xmiiV9ReKnLRnWgxaZQZax vserPh0zrMBNi2TMmnIf3TPXs0UaErfgeqUG4QzK9D2IFUmz9H7GMigtp7vB5WD19mg0 3RMYkQLeVBEbEi8K0mfHm9f7Zcc8/LJOj/VVr4CLDFyU3a9VDrDHA0tccmK2a/jvuUmt fUw6pFvRjLQ/3sKC2ag210EkQOt0UtzwyNYLo0xnNdMwbJIr+1MDZfXfgYX9Idu/qbnn IbQrgnKOvIEu7tM8nn6lMQ4DBVXPZgMjPFpH+dUBIqFCwjCsRAcQ1SrG8Jz2gxUDqAQ7 rxXQ== X-Gm-Message-State: ALQs6tA5TJDZ1zB7a8yTGqM3X4DFZPVV07PWEyCOLsivN7M1vvklogAO jbX5nJ3vpzHo5YH61s3Kjcc= X-Google-Smtp-Source: AB8JxZqcORMebp0qAvbO8YPZx0Dlh2+jFG4sKrGU9V9RKlwRxGlTQDPW0x5CbxHGjjSTL1oPOPnjsw== X-Received: by 10.28.169.6 with SMTP id s6mr7067534wme.116.1525097253094; Mon, 30 Apr 2018 07:07:33 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id b18-v6sm13897018wrb.55.2018.04.30.07.07.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:07:32 -0700 (PDT) From: luca.boccassi@gmail.com To: Andrew Rybchenko Cc: dpdk stable Date: Mon, 30 Apr 2018 15:03:21 +0100 Message-Id: <20180430140606.4615-43-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/sfc/base: fix too long line' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:07:33 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 501814bce21dc0ed89c63f5dae5d18ea44a37818 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Tue, 20 Feb 2018 07:33:46 +0000 Subject: [PATCH] net/sfc/base: fix too long line [ upstream commit ae8caa46a76c8855dc3b7e700737ba534964e21c ] Fixes: 6f619653b9b1 ("net/sfc/base: import MCDI implementation") Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_mcdi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx_mcdi.c b/drivers/net/sfc/base/efx_mcdi.c index 347a5b351..a15f13ce0 100644 --- a/drivers/net/sfc/base/efx_mcdi.c +++ b/drivers/net/sfc/base/efx_mcdi.c @@ -1426,6 +1426,7 @@ efx_mcdi_get_phy_cfg( efx_mcdi_req_t req; uint8_t payload[MAX(MC_CMD_GET_PHY_CFG_IN_LEN, MC_CMD_GET_PHY_CFG_OUT_LEN)]; + uint32_t phy_media_type; efx_rc_t rc; (void) memset(payload, 0, sizeof (payload)); @@ -1474,8 +1475,8 @@ efx_mcdi_get_phy_cfg( EFX_STATIC_ASSERT(MC_CMD_MEDIA_SFP_PLUS == EFX_PHY_MEDIA_SFP_PLUS); EFX_STATIC_ASSERT(MC_CMD_MEDIA_BASE_T == EFX_PHY_MEDIA_BASE_T); EFX_STATIC_ASSERT(MC_CMD_MEDIA_QSFP_PLUS == EFX_PHY_MEDIA_QSFP_PLUS); - epp->ep_fixed_port_type = - (efx_phy_media_type_t) MCDI_OUT_DWORD(req, GET_PHY_CFG_OUT_MEDIA_TYPE); + phy_media_type = MCDI_OUT_DWORD(req, GET_PHY_CFG_OUT_MEDIA_TYPE); + epp->ep_fixed_port_type = (efx_phy_media_type_t)phy_media_type; if (epp->ep_fixed_port_type >= EFX_PHY_MEDIA_NTYPES) epp->ep_fixed_port_type = EFX_PHY_MEDIA_INVALID; -- 2.14.2