From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751315AbdJCBic convert rfc822-to-8bit (ORCPT ); Mon, 2 Oct 2017 21:38:32 -0400 Received: from blatinox.fr ([51.254.120.209]:41813 "EHLO vps202351.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983AbdJCBi0 (ORCPT ); Mon, 2 Oct 2017 21:38:26 -0400 Date: Mon, 2 Oct 2017 21:16:22 -0400 From: =?UTF-8?B?SsOpcsOpbXk=?= Lefaure To: "Rafael J. Wysocki" Cc: Robert Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 15/18] acpi: use ARRAY_SIZE Message-ID: <20171002211622.30d324ca@blatinox-laptop.localdomain> In-Reply-To: <1668017.YFhvic4TWu@aspire.rjw.lan> References: <20171001193101.8898-1-jeremy.lefaure@lse.epita.fr> <20171001193101.8898-16-jeremy.lefaure@lse.epita.fr> <1668017.YFhvic4TWu@aspire.rjw.lan> X-Mailer: Claws Mail 3.15.0-135-g3dcab9 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 02 Oct 2017 14:27:52 +0200 "Rafael J. Wysocki" wrote: > ACPICA is soewhat special code, though and I'm not taking or ACKing patches > for it directly as a rule. > > For one, I'm not sure if ACPICA can use ARRAY_SIZE at all. Why is it special code that can't use ARRAY_SIZE ? Is it because this macro is defined in linux/kernel.h ? Thank you, Jérémy