Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp578242imm; Wed, 19 Sep 2018 03:41:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY4qkwDdQdldVuIwnWBEli5CwWaDmxKMTisuKqLLWD3c8d0oU8iL11xiQEoM/o1Lhz92JNx X-Received: by 2002:a63:b19:: with SMTP id 25-v6mr32348479pgl.301.1537353698178; Wed, 19 Sep 2018 03:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537353698; cv=none; d=google.com; s=arc-20160816; b=zgG3LXOqJ4ZuGQyrMUyrYTE8kvrEsnQF4fHTWHBUyBdt7thvVBKJNi3zrxWeCo0zug PVSFTJzmQnvNYQjrXNOq0FCwcCunQneegqa8gZLPb8kJYBrSs66z97ab3DqAytXdwWj+ hLv5k+ENzxMCbjzwAfU1P3JaadRxAio4rq1NS8P1lyi8dz00uS6sYJvb7kAps7aQCUi1 1CVDVlqXlUKkxn/oAkePnQrchoelHexJEOtKNCsIuF2GGRiBKstr+oY4vd1VlHdIXLsK EUo3hK9nvuKXl44CPCn0sQivHoC2npyg+OdnkyEwiE9m9ikFH+qdv0XYlwJNLiI2PauE xSqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=hkKF94yjmPePWjnoR5dJ1kS8YuSyjO9vXXECr2tyeCY=; b=Tpyd65h6y6XfTJLr4T1uvx/GpE4KYDll4mklMPU3pAM+fjOCN0iFvMfdqr5TV9reh0 HdkGQwD0v9CAFsocK50rSAHBhY7lq2reK/RxhezG84RfPIDOTdIL30R7P8+uByiSY76D tz5C/2IBgCvhAD8Yh483dg/AcxPaTGwCi6i33btcsnSUwsP2NeIKOQsQxlrz9q/fb4I+ VDbjrPsnzujzxMXb3SIvF3NrdOxTobcvK1SQkA+FyU/r5dzV7IxDvwZzrBndSgCmS+CI CkUSEqL3yEEdZbZyjU3frAE63CuQIPYAPtEaXVQKadX0wXSzG2euJ1LY+i1qroUFGDIY 2jgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1-v6si21700051pfi.369.2018.09.19.03.41.22; Wed, 19 Sep 2018 03:41:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731196AbeISQQE (ORCPT + 99 others); Wed, 19 Sep 2018 12:16:04 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50260 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731056AbeISQQD (ORCPT ); Wed, 19 Sep 2018 12:16:03 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id AFF6F7181C4D0; Wed, 19 Sep 2018 18:38:42 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.399.0; Wed, 19 Sep 2018 18:38:42 +0800 From: zhong jiang To: CC: , , , , Subject: [PATCH 0/5] Use FIELD_SIZEOF directly instead of reimplementing its function Date: Wed, 19 Sep 2018 18:26:16 +0800 Message-ID: <1537352781-48532-1-git-send-email-zhongjiang@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The issue is detected with the help of Coccinelle. zhong jiang (5): net: iucv: Use FIELD_SIZEOF directly instead of reimplementing its function net: sched: Use FIELD_SIZEOF directly instead of reimplementing its function net: core: Use FIELD_SIZEOF directly instead of reimplementing its function net: qede: Use FIELD_SIZEOF directly instead of reimplementing its function net: ti: Use FIELD_SIZEOF directly instead of reimplementing its function drivers/net/ethernet/qlogic/qede/qede.h | 2 +- drivers/net/ethernet/ti/cpsw.c | 6 +++--- net/core/flow_dissector.c | 10 +++++----- net/iucv/af_iucv.c | 2 +- net/sched/cls_flower.c | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) -- 1.7.12.4