Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp644425imm; Wed, 19 Sep 2018 04:47:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY01aiWungOXr/R01QuA/8Nl+mDIjslbeMD9ZcJCwHSF9LMx6smkqvTWs3LVFfHC8qeOOTL X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr34023845plh.135.1537357675579; Wed, 19 Sep 2018 04:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537357675; cv=none; d=google.com; s=arc-20160816; b=l6qkd5o8+bgcVc4FGiZMfiCy4PGqnFVps7CNTI+lhZjyxrN0ljXD4DUxJ+e69MUxul KDsh/SZacPapzcNYmE3XMlNyUP6o6ATwZbaANfQqyx5HAsl4+3OI/U608/0Hf/JhqsYq +nE21eSV0qTtg9lR0TZe0t6XBNuVN15+DzOH99OmxHONNaggZ+oMbZ904QpC5TbqgQcA ISqIUBVUAUddzzoz7bwCelQU0ObQSI1XnFH7lW9qo1xmY98LU3lMAuEFQgDI/59+vPFv 1iqqunPS1uSb8C6IOHj3zcBwEyqTRwjdjUYiCvoRswtyY1yWSNeWFPVOs+ZDZnURiLtZ 3erg== 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=Dd+Al/OA73gglYpT7ApjIZ1a4NRf0sZbpd0WEFqZRfCpBUGK6b2bIZfJiXmvq7Sn6f IsfNmmvextgYBEiOEDBG+InzCYqQTetVy8qtcQC7LsqGPhXpu99/G4WKxRsh/3Wz/BQ+ ILAGyDREs/StGT8kZFTPDsVE0nPPtn2njv8aDToS3upN6vdWXgPXbz23a9Bio4sub+FP GawjDk8xcEz0scBEhvTxAXIDi/f2/N6pPlXZpZN/qIufm1E1EXXdrnMxetLbH47T7W8A 9kXicedYtzL8On09N1u9gCeomWxqs8QKKANjb7KQppKgtidFZTrYFWiiuwl+TUbhLYy/ lKag== 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 s7-v6si21148121pgj.480.2018.09.19.04.47.40; Wed, 19 Sep 2018 04:47:55 -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 S1731459AbeISRWP (ORCPT + 99 others); Wed, 19 Sep 2018 13:22:15 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12199 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727820AbeISRWP (ORCPT ); Wed, 19 Sep 2018 13:22:15 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id BA3C3D23C1E6B; Wed, 19 Sep 2018 19:44:39 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.399.0; Wed, 19 Sep 2018 19:44:35 +0800 From: zhong jiang To: CC: , , , , , , , , , Subject: [RESEND PATCH 0/5] net: Use FIELD_SIZEOF directly instead of reimplementing its function Date: Wed, 19 Sep 2018 19:32:09 +0800 Message-ID: <1537356734-51676-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