Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1083381ybe; Thu, 5 Sep 2019 10:03:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyflV07yutSkX3ODvLnjxP+EPfTVwaTv4drv50MnSankW7Zv9lqCqktuCrklmPzbtvp6gqL X-Received: by 2002:a17:902:142:: with SMTP id 60mr4596434plb.155.1567702988105; Thu, 05 Sep 2019 10:03:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567702988; cv=none; d=google.com; s=arc-20160816; b=vUfl45X8scOAEq6uqoW5M5tVGXM/JyKKEssPTrwdtJWl2o50gh3I2Q2cWNbXaCkGuQ 9ySXxmMEFOqIO7lhWJKzI0CTfJ+cAfLNjDhL3P3XFYA7zUFAwykgmA/F/z+tjbA6YbJ3 oOTz565OtCVybBTa6IedyZkP9/WyHXF8slQR5PxsNwt/BHFADZnxmpWOXofajJ/6K57i 08VTcB99ytqC9REb1LkyuDBCsuRYcorlF06QpVinE7i3vQhLSQ9pgdd4ujzK1mcVhaDu C7DB6R6d4xy5ADkEfQJb36blBdkAFf5Z6zoxQxssF8dYv7Put1E68/7tFZbfwQ9Qlnwz dKzQ== 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=AbjUkZACX66sOQDhDfhkG3tNWKWnf02iqDdvFOk9Uh8=; b=dUSYmve4OGgYzzKNU0Yx3OX8QsPTNi8WxMloaNWEvpymIOHQdfieCJbdwNM1xaxNc8 LTExjopMBJ1YxHZV7/nQF2SSqe7iiAOFT4/MQ6M6twcrbS6JrnRyX7UpUMRHh9O6dRGy X0Q5WAByQURSL+hgReiLuT21rpMI1yTY2N87Pn8/AcPTi62Y8KIG8nUERXDjZF2Eeglz 5oyumHVGS/yqLmPmJ/PJpzzznspPoomBDcTzU4hCIrFG06ELy0RLr6Kgr24qHGXmqz1S gBRj+8dppj5TCxY0I7btW69Dquas7Lg5Qf/zR6iisp8WNGW1boHE1hm03RxMhhujNwl5 QXow== 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 z13si2946570pfc.18.2019.09.05.10.02.50; Thu, 05 Sep 2019 10:03:08 -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 S2389544AbfIEMyt (ORCPT + 99 others); Thu, 5 Sep 2019 08:54:49 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6685 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389065AbfIEMyr (ORCPT ); Thu, 5 Sep 2019 08:54:47 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 682E3CF7E511B6EE1AA3; Thu, 5 Sep 2019 20:54:43 +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.439.0; Thu, 5 Sep 2019 20:54:34 +0800 From: zhong jiang To: , , , CC: , , , , , , Subject: [PATCH 0/3] replace code with FIELD_SIZEOF Date: Thu, 5 Sep 2019 20:51:33 +0800 Message-ID: <1567687896-19996-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 FIELD_SIZEOF() has implemented sizeof(). Hence use FIELD_SIZEOF directly. zhong jiang (3): batman-adv: Use FIELD_SIZEOF directly media: v4l2: Use FIELD_SIZEOF directly IB/mlx5: Use FIELD_SIZEOF directly drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- net/batman-adv/distributed-arp-table.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) -- 1.7.12.4