Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3924826pxj; Mon, 21 Jun 2021 09:29:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUwFGaR5d9hAP+TOAFX6WahHcYi3P3/ET0Rg2cIVdfXBeeRCDe5Rx8z9jJlnZcQ200QsHs X-Received: by 2002:aa7:cf03:: with SMTP id a3mr13816414edy.27.1624292981638; Mon, 21 Jun 2021 09:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292981; cv=none; d=google.com; s=arc-20160816; b=HgsYSRdrLXfatYvLKWgQdoPVPTY0c6lUjQg1kaRay9W3rmoZmdCPGjoBIvw4jvc3Pf Lw0xKP6pZAKUaqkXTCHZNtyg3QYALNBQYc+BXkmSgGVG3c7yu4rG2oSa9rqsRjymAxVb iXWwye3H8aZBBIcIuTtX/ivVR9Dx3gYpfF9C3YBysL2xOiEKQVng4uqjl3QRSLSz3LJk MUYJHw8lYg1yzX4QROF9Mu35qGdwx4zxc3IwK3W2Qf3chey3GuoOqeBdTZ8gTR4F79ba kjLQVHOK1Eu6YUN/H4xT/MjMESelAixoXZSUwqTDyFGEo4uKklrY+WQLhUClSPV/PpUB cFXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5od6f0GZ4fb3b9Sft92YNtpU6aSJGFtzkKUwWJYuNiI=; b=LCwz+LHrrrV8m1QAb4i64W7KZUagJCYSD+8UQxqWsMRPUvAwU24ORnVR0u28rQrPUf 7eRr2YLECnxkehwDe9jdE9SdvlL7Cg4HqeqvsS3dicBXQdSS70lLympzW7d/pGYIt+Q3 fI2go7ipPRRCfIxIh1o6z1puJXoCJB6lTIxRhM2ie3/RlPzOtsa35jUprxop6lFLf/3W /JjI32oMb5wIqBoqsK42mF+RxNu+OWPy62qqNHAAIwfNzAfj1lGBwwnco8M1YS9qj4eW yQEAWlqJUCpUofcxqs5gKGXvbSVzsgHxcaLmKwqIAo1F/MDa0m5h6HcHPHd6EvNJpeFX XjpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eRTU7D5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si15767762eds.121.2021.06.21.09.29.19; Mon, 21 Jun 2021 09:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eRTU7D5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231557AbhFUQaj (ORCPT + 99 others); Mon, 21 Jun 2021 12:30:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:49588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbhFUQ2l (ORCPT ); Mon, 21 Jun 2021 12:28:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BE11E61370; Mon, 21 Jun 2021 16:23:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292622; bh=P17tUD8aZ2kW86leyNvl2PVVmCrdd0GlPcRX7rIaGL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eRTU7D5mJkYZf0+EhZiWkpiIvhWAh9reoM706P6cQzE+Jkm/LSwL67Kn4fRObrvw2 Y48flV505Q34Fan7P9c20BGkaBZNSQLkOjbTsHh+PbCDf2o4gDbKLaBDWMlywhkU3C 0cB09HdG+UR4DPtMncmhlY7IasD1/x+YtrWP8Ds8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Pavel Machek (CIP)" , "David S. Miller" , Sasha Levin Subject: [PATCH 5.10 068/146] cxgb4: fix wrong shift. Date: Mon, 21 Jun 2021 18:14:58 +0200 Message-Id: <20210621154915.116092830@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154911.244649123@linuxfoundation.org> References: <20210621154911.244649123@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pavel Machek [ Upstream commit 39eb028183bc7378bb6187067e20bf6d8c836407 ] While fixing coverity warning, commit dd2c79677375 introduced typo in shift value. Fix that. Signed-off-by: Pavel Machek (CIP) Fixes: dd2c79677375 ("cxgb4: Fix unintentional sign extension issues") Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c index e664e05b9f02..5fbc087268db 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c @@ -198,7 +198,7 @@ static void set_nat_params(struct adapter *adap, struct filter_entry *f, WORD_MASK, f->fs.nat_lip[3] | f->fs.nat_lip[2] << 8 | f->fs.nat_lip[1] << 16 | - (u64)f->fs.nat_lip[0] << 25, 1); + (u64)f->fs.nat_lip[0] << 24, 1); } } -- 2.30.2