From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id C31FB1B010 for ; Wed, 16 May 2018 12:09:57 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id f8-v6so263074wmc.4 for ; Wed, 16 May 2018 03:09:57 -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 :mime-version:content-transfer-encoding; bh=ShGDcm6qQ+rndpe8ABe3bhUWMOdjuD49kTKrc6hWyK4=; b=Fkli2Ha2coRTncRP2kFX3VWCm2V+mU+4Eh9KBW0HyK0ak9et768KQYmbw09DszFJ0g +IBIEVYOQmRJ1cBoxXGtEp5ID56m140QVht5RtNG2x6I1v3nmEnCj70MWm2vL/ARGCkk qhnOUxOFG0RO21afaKXMXsSJFq1B80JrLOJXu42U7+FgFUdofWMIe5YrDXvv3Z7h9uea 2DKooyVTElbb2sRPRMXKudlCUsB2L87OHhVPe9y2mlHwc8RpSko0zai3VyfFJRb3aZP8 ZarlmOMvpetPws/0aMKvbf6LCqvnbC2f7EmAuDp1cWd6l5OK2HC3LmbU92KPTkIk0i1v p9Nw== 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=ShGDcm6qQ+rndpe8ABe3bhUWMOdjuD49kTKrc6hWyK4=; b=TK0AvXawuU6XKIW+HA3WYgw6blIJw3171lZ3QEJX64EjDqdXKEFDSuiyXHEPk/l8Cu +lUD9xYqd1xnY3X7x/sKHq3EtfPmny40+6ZcJrvsT9l12mW1ZPE6Vl/gCcAiEaYWG+s9 N9+IYw3AfrjxX3TUR9cOkHUtHlm3n8HwHB8F6j9VWN7GLDeGlvUXPNanECpxA6hDJJq/ StKpQbqEy2sbc7QxuGGm5AqRcaA5ZBfIMh/VZU4lj+EImipUBmZnEl+/Uk3Sb4kinlDy w5XCvddd4Pp3KhPGQDRdaCybMDG0e3aJq82fWMChlcSXf1MUoe6V9O17oHE7Avn3DH5s bBFw== X-Gm-Message-State: ALKqPwdwzX1/gL5yAWZ40bKv1L8Jsgws840ufrXJEdzVrpnucGxuB0aq rGABYBP4qWIJxdNM010RO5A= X-Google-Smtp-Source: AB8JxZpw3f5Dnxe7wjP3AMuH/xzbTJiLNIa9inJze533kSOeYhosLz83Z8/rMdY5M7aqcc61KxAXwA== X-Received: by 2002:a1c:b656:: with SMTP id g83-v6mr110237wmf.143.1526465397513; Wed, 16 May 2018 03:09:57 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id k126-v6sm3531775wmg.6.2018.05.16.03.09.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 03:09:56 -0700 (PDT) From: luca.boccassi@gmail.com To: Andy Green Cc: Rasesh Mody , dpdk stable Date: Wed, 16 May 2018 11:09:44 +0100 Message-Id: <20180516100945.4449-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180516100945.4449-1-luca.boccassi@gmail.com> References: <20180515171933.12882-2-luca.boccassi@gmail.com> <20180516100945.4449-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnx2x: fix KR2 device check' has been queued to LTS release 16.11.7 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: Wed, 16 May 2018 10:09:57 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.7 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/18/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 0d9489fd9c905991273d49d1e29d569b3fad98ce Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 14 May 2018 13:04:33 +0800 Subject: [PATCH] net/bnx2x: fix KR2 device check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit d9b8838ab2e90713827ee8843d836b0fccbaf2f7 ] In function ‘elink_check_kr2_wa’: drivers/net/bnx2x/elink.c:12922:28: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] ((next_page & 0xe0) == 0x2)))); This was fixed elsewhere in 2014 Fixes: b5bf7719221d ("bnx2x: driver support routines") Signed-off-by: Andy Green Acked-by: Rasesh Mody --- drivers/net/bnx2x/elink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index beaeb6ccd..89747104a 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -12918,7 +12918,7 @@ static void elink_check_kr2_wa(struct elink_params *params, */ not_kr2_device = (((base_page & 0x8000) == 0) || (((base_page & 0x8000) && - ((next_page & 0xe0) == 0x2)))); + ((next_page & 0xe0) == 0x20)))); /* In case KR2 is already disabled, check if we need to re-enable it */ if (!(vars->link_attr_sync & LINK_ATTR_SYNC_KR2_ENABLE)) { -- 2.14.2