All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Colin Ian King <colin.king@canonical.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	"Jérémy Lefaure" <jeremy.lefaure@lse.epita.fr>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"ACPI Devel Maling List" <linux-acpi@vger.kernel.org>,
	"devel@acpica.org" <devel@acpica.org>
Subject: Re: [Devel] [PATCH 15/18] acpi: use ARRAY_SIZE
Date: Tue, 3 Oct 2017 18:04:46 +0200	[thread overview]
Message-ID: <CAJZ5v0j+UPDJrWfiZzE26=PGSzmqZnQwMwCkei9N8+M1JkEmyg@mail.gmail.com> (raw)
In-Reply-To: <e0ab5224-1120-4b06-b625-822491d6b926@canonical.com>

On Tue, Oct 3, 2017 at 2:34 PM, Colin Ian King <colin.king@canonical.com> wrote:
> On 03/10/17 12:39, Rafael J. Wysocki wrote:
>> On Tuesday, October 3, 2017 3:16:22 AM CEST Jérémy Lefaure wrote:
>>> On Mon, 02 Oct 2017 14:27:52 +0200
>>> "Rafael J. Wysocki" <rjw@rjwysocki.net> 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 ?
>
> However, ACPICA does have ACPI_ARRAY_LENGTH(x), see source/include/actypes.h

Fair enough, but that cleanup should go in via ACPICA upstream anyway.

Thanks,
Rafael

WARNING: multiple messages have this Message-ID (diff)
From: Rafael J. Wysocki <rafael at kernel.org>
To: devel@acpica.org
Subject: Re: [Devel] [PATCH 15/18] acpi: use ARRAY_SIZE
Date: Tue, 03 Oct 2017 18:04:46 +0200	[thread overview]
Message-ID: <CAJZ5v0j+UPDJrWfiZzE26=PGSzmqZnQwMwCkei9N8+M1JkEmyg@mail.gmail.com> (raw)
In-Reply-To: e0ab5224-1120-4b06-b625-822491d6b926@canonical.com

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

On Tue, Oct 3, 2017 at 2:34 PM, Colin Ian King <colin.king(a)canonical.com> wrote:
> On 03/10/17 12:39, Rafael J. Wysocki wrote:
>> On Tuesday, October 3, 2017 3:16:22 AM CEST Jérémy Lefaure wrote:
>>> On Mon, 02 Oct 2017 14:27:52 +0200
>>> "Rafael J. Wysocki" <rjw(a)rjwysocki.net> 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 ?
>
> However, ACPICA does have ACPI_ARRAY_LENGTH(x), see source/include/actypes.h

Fair enough, but that cleanup should go in via ACPICA upstream anyway.

Thanks,
Rafael

  reply	other threads:[~2017-10-03 16:04 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-01 19:30 [PATCH 00/18] use ARRAY_SIZE macro Jérémy Lefaure
2017-10-01 19:30 ` Jérémy Lefaure
2017-10-01 19:30 ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-01 19:30 ` Jérémy Lefaure
2017-10-01 19:30 ` Jérémy Lefaure
2017-10-01 19:30 ` Jérémy Lefaure
2017-10-01 19:30 ` Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 01/18] sound: use ARRAY_SIZE Jérémy Lefaure
2017-10-02  4:16   ` Joe Perches
2017-10-03  1:12     ` Jérémy Lefaure
2017-10-03  1:12       ` Jérémy Lefaure
2017-10-03  7:03   ` Takashi Iwai
2017-10-03  7:03     ` Takashi Iwai
2017-10-01 19:30 ` [PATCH 02/18] tracing/filter: " Jérémy Lefaure
2017-10-04  1:05   ` Steven Rostedt
2017-10-01 19:30 ` [PATCH 03/18] media: " Jérémy Lefaure
2017-10-02 10:34   ` Michael Ira Krufky
2017-10-01 19:30 ` [PATCH 04/18] IB/mlx5: Use ARRAY_SIZE Jérémy Lefaure
     [not found]   ` <20171001193101.8898-5-jeremy.lefaure-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
2017-10-02  4:38     ` Leon Romanovsky
2017-10-02  4:38       ` Leon Romanovsky
2017-10-01 19:30 ` [PATCH 05/18] net: use ARRAY_SIZE Jérémy Lefaure
2017-10-01 19:30   ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-02 13:07   ` Andy Shevchenko
2017-10-02 13:07     ` [Intel-wired-lan] " Andy Shevchenko
2017-10-02 13:07     ` Andy Shevchenko
2017-10-02 13:07     ` Andy Shevchenko
2017-10-03  1:22     ` Jérémy Lefaure
2017-10-03  1:22       ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-03  1:22       ` Jérémy Lefaure
2017-10-03  1:22       ` Jérémy Lefaure
2017-10-03  8:09       ` Andy Shevchenko
2017-10-03  8:09         ` [Intel-wired-lan] " Andy Shevchenko
2017-10-03  8:09         ` Andy Shevchenko
2017-10-03  8:09         ` Andy Shevchenko
2017-10-02 13:46   ` Kalle Valo
2017-10-02 13:46     ` [Intel-wired-lan] " Kalle Valo
2017-10-02 13:46     ` Kalle Valo
2017-10-02 13:46     ` Kalle Valo
2017-10-03  1:23     ` Jérémy Lefaure
2017-10-03  1:23       ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-03  1:23       ` Jérémy Lefaure
2017-11-14  3:19   ` [PATCH v2] wireless: " Jérémy Lefaure
2017-12-08 13:20     ` [v2] " Kalle Valo
2017-11-14  3:24   ` [PATCH v2] net: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 06/18] drm: " Jérémy Lefaure
2017-10-02  7:43   ` Jani Nikula
2017-10-02  7:43     ` Jani Nikula
2017-10-02  8:27   ` Thierry Reding
2017-10-02  8:27     ` Thierry Reding
2017-10-01 19:30 ` [PATCH 07/18] scsi: bfa: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 08/18] ecryptfs: " Jérémy Lefaure
2017-10-14  1:31   ` Tyler Hicks
2017-10-01 19:30 ` [PATCH 09/18] nfsd: " Jérémy Lefaure
2017-10-02 11:03   ` Jeff Layton
2017-10-01 19:30 ` [PATCH 10/18] orangefs: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 11/18] dm space map metadata: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 12/18] x86: " Jérémy Lefaure
2017-10-19 14:18   ` [tip:x86/cleanups] x86: Use ARRAY_SIZE tip-bot for Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 13/18] tpm: use ARRAY_SIZE Jérémy Lefaure
2017-10-01 19:30   ` Jérémy Lefaure
2017-10-04 12:14   ` Jarkko Sakkinen
2017-10-04 12:14     ` Jarkko Sakkinen
2017-10-10 20:30     ` Jérémy Lefaure
2017-10-10 20:30       ` Jérémy Lefaure
2017-10-11 11:48       ` Jarkko Sakkinen
2017-10-11 11:48         ` Jarkko Sakkinen
2017-10-01 19:30 ` [PATCH 14/18] ipmi: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 15/18] acpi: " Jérémy Lefaure
2017-10-02 12:27   ` Rafael J. Wysocki
2017-10-02 12:27     ` [Devel] " Rafael J. Wysocki
2017-10-03  1:16     ` Jérémy Lefaure
2017-10-03 11:39       ` Rafael J. Wysocki
2017-10-03 11:39         ` [Devel] " Rafael J. Wysocki
2017-10-03 12:34         ` Colin Ian King
2017-10-03 12:34           ` Colin Ian King
2017-10-03 16:04           ` Rafael J. Wysocki [this message]
2017-10-03 16:04             ` Rafael J. Wysocki
2017-10-03 16:38             ` Moore, Robert
2017-10-03 16:38               ` Moore, Robert
2017-10-01 19:30 ` [PATCH 16/18] media: staging: atomisp: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 17/18] staging: rtl8723bs: " Jérémy Lefaure
2017-10-01 19:30 ` [PATCH 18/18] staging: rtlwifi: " Jérémy Lefaure
2017-10-01 22:01 ` [PATCH 00/18] use ARRAY_SIZE macro Tobin C. Harding
2017-10-01 22:01   ` [Intel-wired-lan] " Tobin C. Harding
2017-10-01 22:01   ` Tobin C. Harding
2017-10-01 22:01   ` Tobin C. Harding
2017-10-02  0:52   ` Jérémy Lefaure
2017-10-02  0:52     ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-02  0:52     ` Jérémy Lefaure
2017-10-02  0:52     ` Jérémy Lefaure
2017-10-02  0:52     ` Jérémy Lefaure
2017-10-02  5:35     ` Greg KH
2017-10-02  5:35       ` [Intel-wired-lan] " Greg KH
2017-10-02  5:35       ` Greg KH
2017-10-02  5:35       ` Greg KH
2017-10-02 19:22       ` J. Bruce Fields
2017-10-02 19:22         ` [Intel-wired-lan] " J. Bruce Fields
2017-10-02 19:22         ` J. Bruce Fields
2017-10-02 19:22         ` J. Bruce Fields
2017-10-03  1:33         ` Jérémy Lefaure
2017-10-03  1:33           ` Jérémy Lefaure
2017-10-03  1:33           ` [Intel-wired-lan] " =?unknown-8bit?q?J=C3=A9r=C3=A9my?= Lefaure
2017-10-03  1:33           ` Jérémy Lefaure
2017-10-03  1:33           ` Jérémy Lefaure
2017-10-03  1:33           ` Jérémy Lefaure
2017-10-05 17:57           ` J. Bruce Fields
2017-10-05 17:57             ` [Intel-wired-lan] " J. Bruce Fields
2017-10-05 17:57             ` J. Bruce Fields
2017-10-05 17:57             ` J. Bruce Fields
2017-10-02 16:37     ` Mauro Carvalho Chehab
2017-10-02 16:37       ` [Intel-wired-lan] " Mauro Carvalho Chehab
2017-10-02 16:37       ` Mauro Carvalho Chehab
2017-10-02 16:37       ` Mauro Carvalho Chehab
2017-10-02 17:05 ` Zhi Wang
2017-10-02 17:05   ` [Intel-wired-lan] [Intel-gfx] " Zhi Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJZ5v0j+UPDJrWfiZzE26=PGSzmqZnQwMwCkei9N8+M1JkEmyg@mail.gmail.com' \
    --to=rafael@kernel.org \
    --cc=colin.king@canonical.com \
    --cc=devel@acpica.org \
    --cc=jeremy.lefaure@lse.epita.fr \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.