Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3937969pxj; Mon, 21 Jun 2021 09:46:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFeMOop75T/elduvziHgAE8ArBXTiBDPMzMxreJX0TQF2LY6PLdMS8+m4hITc62qIlOXP3 X-Received: by 2002:a05:6e02:1aa1:: with SMTP id l1mr3143557ilv.141.1624293979692; Mon, 21 Jun 2021 09:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624293979; cv=none; d=google.com; s=arc-20160816; b=JsxJSP7XhEIGgaXUDS+hgtMqxaAxz8gIo4xmOd/xAyMtX0K7Xse8Z5UDHQaWon0p0B PdvfcLeZGYOYMlOsoqxdaMsCM9cOmUhGz7OCNetY4nqMy211a0KGo4n4MvkwXPxLPE9m LQb/1N6orYABkjt+gwA+xwsFbePjpqmvOOzH2+3FPfchygQSWznm7SBG9ppXeY9iWQoX O61CD5+1CIYCRPF4r9zJCXVodCCLtMkT+A3+4LqbQ28TqbXr3DPMATmCh6Mjuv/Ahww9 3GwhoB/MK08IGO3t03RKUnFSDuZ/9GZO825V+EnSEscveMoS9uh7jWoWy3/EEfO5uGf9 dfcQ== 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=FdnVx6RBjbXwNES6UaweHtvUwOdiys6eHIXR0gqhrTZQEjYIwXouTlD4bqlQcyweSE SGi/eihp+hjhyLO8uIdmJzlB405cvv/Cb/c3mRBJhbI7yJabJF6rfg2VIYrjl8KE/dDg n6n1yDhi/6m2X6VeCjPVpJyEfCveYrNwcHNlOjvvm2BgG77k736jRrYKjNdfPhYrHgdm GALR1Es0e/mDJk6/48SDREmTg/+NTNzceK3eY1qQH3U/O2WAPV/MkNc1wFFXkxbTax4n 52w9eckXG63bdqmf7PwOgqLx8PnFeQRzgMggnu3wF76CoFXtrJiZSyuai9glZcT2s/mW HOhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PMPwdZXi; 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 c4si1539925ilm.10.2021.06.21.09.46.06; Mon, 21 Jun 2021 09:46:19 -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=PMPwdZXi; 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 S231398AbhFUQqu (ORCPT + 99 others); Mon, 21 Jun 2021 12:46:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:33922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232898AbhFUQlm (ORCPT ); Mon, 21 Jun 2021 12:41:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B8D4613B3; Mon, 21 Jun 2021 16:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624293056; bh=P17tUD8aZ2kW86leyNvl2PVVmCrdd0GlPcRX7rIaGL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PMPwdZXiao24LYOuv4W/SjRo00bld2kbo6AsJ+RiSZGCgTLufhjntGVWY0XreFp96 ESRQyCwnvcMJD0RfgQ6pKsDXQMVLQCDkH1mNWZiJxUMUkTsb4zdf1Z3NTkkw7kMxEs RtgKEvh71Fpv1DqWhAn8qVg+xhRvTUEJzR5pUCpo= 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.12 082/178] cxgb4: fix wrong shift. Date: Mon, 21 Jun 2021 18:14:56 +0200 Message-Id: <20210621154925.422576031@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154921.212599475@linuxfoundation.org> References: <20210621154921.212599475@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