From patchwork Wed Nov 29 20:19:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 842714 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="E/CmGKYb"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ynBj36Hg8z9s4s for ; Thu, 30 Nov 2017 07:19:51 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752764AbdK2UTp (ORCPT ); Wed, 29 Nov 2017 15:19:45 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:40271 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726AbdK2UTm (ORCPT ); Wed, 29 Nov 2017 15:19:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cqk51HHL3xIkODbBP4DI0HBDbpO0DXoww0tPWO6opTI=; b=E/CmGKYbi7Hp2K2FKA1qVkECe X7PKcEi1aI2ol/a+EY23uo2PSpn7flI6SBYhwZ+RW4kwyEBVUJtOkV2at5ay0/W9LDFWUDNjNI4TJ QhugQoQYJ5v1wekO/IWhYt7OQXaMWbaTrOQEbPtsQ1WotoPQUQE3gYq+lerEaVODA2TmT89CDXi9V 1WjHRr8pNBhljH26j+XVuC5SfqSmPB2cChp96Kwn/3SESuWl7ApG/brVbDrYYKnqGl42+ldHxvjHx txZ2yGh6Euko+nuPmhGGJ10HunhVK61HtMmIoZhN78sBZwqvNmklpGubZvl2ckAim1aja41LTSrfs ykwy619wg==; Received: from willy by bombadil.infradead.org with local (Exim 4.87 #1 (Red Hat Linux)) id 1eK8pT-0006N6-JV; Wed, 29 Nov 2017 20:19:35 +0000 From: Matthew Wilcox To: willy@infradead.org, netdev@vger.kernel.org Cc: Matthew Wilcox Subject: [PATCH v2 02/17] radix tree test suite: Remove ARRAY_SIZE Date: Wed, 29 Nov 2017 12:19:07 -0800 Message-Id: <20171129201922.24370-3-willy@infradead.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20171129201922.24370-1-willy@infradead.org> References: <20171129201922.24370-1-willy@infradead.org> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Matthew Wilcox This is now defined in tools/include/linux/kernel.h, so our definition generates a warning. Signed-off-by: Matthew Wilcox --- tools/testing/radix-tree/linux/kernel.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/radix-tree/linux/kernel.h b/tools/testing/radix-tree/linux/kernel.h index c3bc3f364f68..426f32f28547 100644 --- a/tools/testing/radix-tree/linux/kernel.h +++ b/tools/testing/radix-tree/linux/kernel.h @@ -17,6 +17,4 @@ #define pr_debug printk #define pr_cont printk -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) - #endif /* _KERNEL_H */