Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3920230pxj; Mon, 21 Jun 2021 09:23:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKUw1LbUDsuenOClPfVi+bQ504zQwNFbIytAipwm1cVhPz/1o7OC49JecHAouCcYH8B2G7 X-Received: by 2002:a17:906:9d12:: with SMTP id fn18mr25527122ejc.3.1624292600425; Mon, 21 Jun 2021 09:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292600; cv=none; d=google.com; s=arc-20160816; b=ssFLNSs6P9JQu3IVRoyBkNfkygrhUtgTPJQmsRx/mgcXJ3Nl5B2yb3ZEaY1YIm6LqY 0ZFW5tJTGvbTmW2mqTnFUBG8fnt0noKcAzf2ToT1pxhjFX7P9Im/2DUhE8C0we3gUXyR bJSmN5JyV2iJxn7Qsc2rV8YyznaI/oRy6dcPSRvsX26AWonlYWFcA7xTg9H0kTfXty+u wqw799IckahZZkTzn000j0i60cKrhwm3DA8gHytLfnq7yXDl5ZBQOo93xmMhuHOdD8P5 VhnppPmTesrPKGfKScpjP2WFGPus4o8Djo9IazUDY7AdRSx1HyRTc0RLSJFM4uCyZJHK 4bQg== 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=Nzcmuw/W8GE3YyKvkEBqDx8HZmlZ25aOhehhmovw6CA=; b=rSyAgwfnf3S/DKi4x4goHgd9Aolg98NNKPIHDJFxWZf47qozXk/zVfzoJY9J/ORMF2 aXbkfdfv9MNdinGjrCVenJNSOXCeds0A2eTU95O9EH4/TO3W0iJWG3W2dBvYl1MDNbil oDZnryuvQqE1XTJJX+ifL1cWyIK04dVxwyeVcYkeSA9vKzP2KO8OhQpDuWO5m2Sp/ZpB KcnJVOXwdWmpVoS1OSRRdkDcxbTg4h6iaULnlprL5YT0yt33w3uU+XveTG718ZP10ez8 cO182oVjEpqxTSffIRkSARgRT+wqHALJCfDHtVvoSy9MTIE+6wXoz0wBFLqMy01cXwzN 4MlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JGmpaGpl; 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 jy1si11219758ejc.592.2021.06.21.09.22.57; Mon, 21 Jun 2021 09:23:20 -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=JGmpaGpl; 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 S231635AbhFUQXc (ORCPT + 99 others); Mon, 21 Jun 2021 12:23:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:42142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbhFUQWJ (ORCPT ); Mon, 21 Jun 2021 12:22:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4739261261; Mon, 21 Jun 2021 16:19:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292387; bh=QWtKINgTOKGQKYzKNcJMx5++0guRoY2R1hh0S4UIlnE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JGmpaGplwtKolf8D38uu8tpi79SEIBJsz07Us5fXqI7bXEZb5GYVeUl7B7MPtJKoZ 59u4257geUKiPnSv27HMVD+lJ4qrEzwiQBcvOsSBHmrgV59ABJQalQXkYw9VdFWle/ LHI9MYsKA6frDwy3EO75ypvo5cMUKlYtZQcowVck= 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.4 38/90] cxgb4: fix wrong shift. Date: Mon, 21 Jun 2021 18:15:13 +0200 Message-Id: <20210621154905.414853069@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154904.159672728@linuxfoundation.org> References: <20210621154904.159672728@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 ccb28182f745..44f86a33ef62 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