Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1883775pxk; Sun, 13 Sep 2020 20:56:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSVaqOnAVNQDtc87LhI7S4gvXfWmFK9JtEaoYoPTtb6bHkEuSFBWyfkDiHrTaNE/unrqbT X-Received: by 2002:a05:6402:1773:: with SMTP id da19mr14712869edb.171.1600055796533; Sun, 13 Sep 2020 20:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600055796; cv=none; d=google.com; s=arc-20160816; b=DJXFi/Z1bv+PdMaDUlrYRwVNeO0LhQj0bRQvi/7UoZJ8nwEoRFsPMoopxnqhpg1AaJ dXjLKTVbJH1jSj9UsFsAQk6X9ym5XFF+dwb2reC2FMEF7uYSjYRot/tQBcyDuPk5FyYb 6Oe6a/TXjSeSvImIPaVyPnL1hV2Qdx8sqlJ3O/y9CjcxqlPiNR/tcKzhfwJO5mrgvljH F5zFzXdHQ60lBZJ3vAMKVvKYBmeZ+XBlDVyaMoHkyULD4bH7BC/tihgmRXX6ZQ/oWNa2 Twlh+K2LhWg6dPv6kzPPSxRorTdc5uWAkU9b9O+SW7QltF+vXDBWE5TeQ6K3NCIGACNv /iug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ARatsURG3aFY6GCPUq8Didje5q2wD/TszrPpSRrei/Y=; b=Nj2slI2QWjLY5nAwUNzc6AmrY7f5iwQsB2XIe6ZthJ5yaJyvYdCwBoILsPkRmelnat 5A7bf5wM8kKqNlJr/ntF4YpfHQ6eGNPZDiuDGXA6J+LO3v4dbKPArxgdh2AgtfmXaF57 4//SvVqCOVsjSzC/VsM8tOgumVQM+rFl2VtH41LYC+ZejItDaVnaekcyfyd34+0Kw/dw zY8/DYoRPTh1NN0zxYy4524f/TXzWg69J9WJSztZZvx6LZ3GMPd05Xmu2vHY+WmpHgQV pd/nptiwvSmMoKP4OBqwBKKYN/nPglXbiGVopp1hoolHjPnr/75n6jkxKdsCZTGOsUIX Fylg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fy26si6451988ejb.319.2020.09.13.20.56.14; Sun, 13 Sep 2020 20:56:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726046AbgINDza (ORCPT + 99 others); Sun, 13 Sep 2020 23:55:30 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12246 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726030AbgINDzX (ORCPT ); Sun, 13 Sep 2020 23:55:23 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 8BD54B3DD203246DF187; Mon, 14 Sep 2020 11:55:22 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Mon, 14 Sep 2020 11:55:12 +0800 From: Liu Shixin To: Li Yang CC: , , , Liu Shixin Subject: [PATCH -next] soc/qman: convert to use be32_add_cpu() Date: Mon, 14 Sep 2020 12:17:52 +0800 Message-ID: <20200914041752.3702104-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Liu Shixin drivers/soc/fsl/qbman/qman_test_api.c--- drivers/soc/fsl/qbman/qman_test_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qbman/qman_test_api.c b/drivers/soc/fsl/qbman/qman_test_api.c index 2895d062cf51..7066b2f1467c 100644 --- a/drivers/soc/fsl/qbman/qman_test_api.c +++ b/drivers/soc/fsl/qbman/qman_test_api.c @@ -86,7 +86,7 @@ static void fd_inc(struct qm_fd *fd) len--; qm_fd_set_param(fd, fmt, off, len); - fd->cmd = cpu_to_be32(be32_to_cpu(fd->cmd) + 1); + be32_add_cpu(&fd->cmd, 1); } /* The only part of the 'fd' we can't memcmp() is the ppid */ -- 2.25.1