From patchwork Sat Nov 23 13:27:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 180097 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp736338ilf; Sat, 23 Nov 2019 05:28:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxAQQIFW+NVrMledZGMk4nnCKjeiGcrIHQP/C7XmAmrQkrfcD7qniY8PIe1TCsjeTujW9gb X-Received: by 2002:a50:b558:: with SMTP id z24mr7177462edd.67.1574515729173; Sat, 23 Nov 2019 05:28:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574515729; cv=none; d=google.com; s=arc-20160816; b=VghqOti27kldX1A+Lv9iBZvX8TPspckvQNpHavnjC+ryxHZ/hE4Szmqyi6qZFC1Rs9 K0LhisNUptPKvIjD0mCKNYC1k6U4xpXtRALRnfqsAnsdagiJHuf37Bg4VN19WFLts1pz Roq12OLJB5MwPShA9Y+vWRxm2EkxaGwRM+dvlf8EKbcZaQMem3QPUliTU20FLXZe7OYw EKUkL1srVAcYXHcMK2CRcZQza8S0EvU2/aasvoDGS35Sco3+VVuVk31u1Rh71w3kE/P1 T54gCnrMwkx2JUU8AJasNV0MDf5N3asOXI2sJMV17Lq44oE1bSpxw87kiAIlWnuQzIC+ 21qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=SAOvNT84T6xkejq7UF7LxRxPz4hv3O9WHTksxFtpRFk=; b=S8XEFjY1hVB+KDqnIfU//8jx27ZoAp88LASOPHR+9pzk5L3JIDzvjr1hTBSpdMuXx3 VRQsuLaDHTbx6UxBYe4Vvo9KD5F7NvklhabtETJhMTojMFPPjAJslSSf9ULa2YZChUiL 6pdSJQB+Oqys/DAOs+rpbUsCwLo4P4WRUW7gCDRe0ewRhbFsuszWpJWUjjDyo01/Div8 955dFVoG646JXz6LL5WAotf+DJCbsqBI32KL2C+n6LyN3RRthck4pdcd6z8eGY9KhybZ Kv4ghxhTS5vGS5bUC4fZR3pNn1r1eulN6Vy+V9Os8D8l3gNtAM0pq627Rq/vpg76t4NC f+Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="H/QNOBq0"; 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 e24si725354ejx.220.2019.11.23.05.28.49; Sat, 23 Nov 2019 05:28:49 -0800 (PST) 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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="H/QNOBq0"; 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 S1727200AbfKWN2n (ORCPT + 26 others); Sat, 23 Nov 2019 08:28:43 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:39545 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726774AbfKWN2A (ORCPT ); Sat, 23 Nov 2019 08:28:00 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-10.nifty.com with ESMTP id xANDRbka000733; Sat, 23 Nov 2019 22:27:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com xANDRbka000733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1574515659; bh=SAOvNT84T6xkejq7UF7LxRxPz4hv3O9WHTksxFtpRFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H/QNOBq0Zk6CKGMqWoCEuAz2fi60YD1+FO7Lr7biE94WhZLYyRrERh3MlsKV4VoqM vQXAL5EjB4pVnLD1cTWeMikh0xCAqgo5KElZpCJ39tmQecK8dRGxtLFXfz8KD8Bx06 c8EXuPkpm9sZU+J62WsE8gF073ii1xDfnaSTBKyLBJo3lOfVTNsbnCdp8cSAtl9yVF 4q45wtiwY2e+dbeoEwPgVV+FpJX6VuLMl5rzSZuds6MxrI3+3l0o1Ec5tsDtOQIYZD v3nq+QU4PQkxY0oLAYRS0W5c0ccY0x41tYt2qJdiYnOAWrNGTz/va6auTdHtXkqS/Y M3IpqY7aeFojA== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 01/16] scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE Date: Sat, 23 Nov 2019 22:27:12 +0900 Message-Id: <20191123132727.30151-2-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191123132727.30151-1-yamada.masahiro@socionext.com> References: <20191123132727.30151-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is not defined in the standard headers. #ifndef is unneeded. Signed-off-by: Masahiro Yamada --- scripts/kallsyms.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index ae6504d07fd6..918c2ba071b5 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -24,9 +24,7 @@ #include #include -#ifndef ARRAY_SIZE #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) -#endif #define KSYM_NAME_LEN 128