Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1866159pxu; Fri, 27 Nov 2020 18:07:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2u7iQe9X2vpPf0FGJVbSymA2xjVK0l6HjKcKhEx/8BU3qWZDLmGCkYN6OUaiulHLDgvrc X-Received: by 2002:a17:906:b851:: with SMTP id ga17mr9532705ejb.386.1606529235872; Fri, 27 Nov 2020 18:07:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606529235; cv=none; d=google.com; s=arc-20160816; b=qvg8iHfN6LZaEf37VmnIYqVTEVyEyXAh84OED9LqVBBwqNviNFemYjCb+2PLEvZgtC sdVg7xPWzU2mfWirzOSu8aD7IM8W2JtvMMBa44qXXCJRW5Iso1FrDjP7r8Pbzxc9srZX 7k1XwTFWt0uKtVdYUIFIOWH/aXpO+nJRTl5EJHxXqJW8uZufnjB3QSNL5LvfQp7Aaw/W ooy6JU5euEOdxRVnokvQ7mXxIGeZ8teZ3z579fBzyYrnzg8M8R6Phxczx0W6t3O4myRA fTl6MH8tDEPKEHlU/TZnyY8J4KhAzrd7cKXjQErnJr61nmcFJZZtuzgxnxq/ev1PAxhA VSjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=llfBudI+/zoTDJd2GZNVFGDnpdT0FinaSRFMYeFZ+VM=; b=HG8iaNPu/wKl2IsF5zYmstXxlZw53JVaXL6pIquhQIda4kRBQyoZZjynLNEnHVWqxV MecY/3+E088s5x+vv+E6kmSm8pJ7jNQa8QKHGdIcKkr0W8IibYtb/EUUi7gEWs+iyiND fqdxqPS3/NhRfyPk21kBOB14oxukycJ84UvTHy70hykOdfDoJ6VgtmvnyeLZUrpx0TnV c6LMKK6UrWwryPKOsOHFDA4qjo2aE1uZfg0zXZCXN29vNIl8HzvvunNKKmIKe9fHhsT9 UX1p2mBxJJamq2dFDihiX/2E2RY9wH0QlTli/+ngCpFIqcZ8dLuFv6ckzdDDazHyVZEz QLiA== 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 c95si8322347edf.197.2020.11.27.18.06.52; Fri, 27 Nov 2020 18:07:15 -0800 (PST) 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 S1730194AbgK1CBj (ORCPT + 99 others); Fri, 27 Nov 2020 21:01:39 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8605 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730916AbgK1CAQ (ORCPT ); Fri, 27 Nov 2020 21:00:16 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CjZS420TpzLtWF; Sat, 28 Nov 2020 09:59:32 +0800 (CST) Received: from [127.0.0.1] (10.74.149.191) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Sat, 28 Nov 2020 09:59:56 +0800 Subject: Re: [PATCH net-next 5/7] net: hns3: add more info to hns3_dbg_bd_info() To: Jakub Kicinski CC: , , , , , References: <1606466842-57749-1-git-send-email-tanhuazhong@huawei.com> <1606466842-57749-6-git-send-email-tanhuazhong@huawei.com> <20201127125342.05daa45a@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> From: tanhuazhong Message-ID: <3c35a579-bede-0c15-18f6-2c3d9c981f25@huawei.com> Date: Sat, 28 Nov 2020 09:59:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20201127125342.05daa45a@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.74.149.191] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/11/28 4:53, Jakub Kicinski wrote: > On Fri, 27 Nov 2020 16:47:20 +0800 Huazhong Tan wrote: >> Since TX hardware checksum and RX completion checksum have been >> supported now, so add related information in hns3_dbg_bd_info(). >> >> Signed-off-by: Huazhong Tan > > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:266:22: warning: incorrect type in assignment (different base types) > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:266:22: expected restricted __sum16 [usertype] csum > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:266:22: got unsigned int > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:268:22: warning: invalid assignment: |= > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:268:22: left side has type restricted __sum16 > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:268:22: right side has type unsigned int > Will fix it, thanks. > . >