From: Moore, Robert
> Sent: Monday, October 19, 2015 10:05 AM
> To: 'LABBE Corentin'
> Cc: LABBE Corentin; Zheng, Lv; Wysocki, Rafael J; l...@kernel.org; linux-
> a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org
> Subject: RE: [PATCH] acpi: set return v
19, 2015 5:03 AM
> To: Moore, Robert
> Cc: LABBE Corentin; Zheng, Lv; Wysocki, Rafael J; l...@kernel.org; linux-
> a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] acpi: set return value to const char for some
> functions
>
> On W
On Wed, Oct 14, 2015 at 08:53:19PM +, Moore, Robert wrote:
> In ACPICA, we tend to be very careful concerning the "const" keyword in order
> to avoid a phenomenon known as "const pollution".
>
> That is not to say that we won't use const in some limited cases.
>
> Bob
>
Hello
The problem
On Fri, 2015-10-16 at 03:37 +, Moore, Robert wrote:
> If you don't like the quote, just stick with my first assessment.
Thanks, but if you can't make arguments yourself, it seems
you're making assertions rather than assessments.
--
To unsubscribe from this list: send the line "unsubscribe li
rnel.org; linux-
> a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org; Box,
> David E
> Subject: Re: [PATCH] acpi: set return value to const char for some
> functions
>
> On Thu, 2015-10-15 at 19:32 +, Moore, Robert wrote:
> > if you started to use "const&quo
On Thu, 2015-10-15 at 19:32 +, Moore, Robert wrote:
> if you started to use "const" for some methods you usually forced to
> use this in most of your code. But the time spent for maintaining
> (typing, recompiling when some const is missing, etc.) of
> const-correctness in code seems greater th
> Please describe the effects of "const pollution".
>
> Why isn't it useful to update the functions that don't modify function
> pointer arguments to const?
It's not that const isn't useful, but it can create problems, especially in
existing code. It can bubble up to higher functions, causing lo
On Wed, 2015-10-14 at 20:53 +, Moore, Robert wrote:
> In ACPICA, we tend to be very careful concerning the "const" keyword in order
> to avoid a phenomenon known as "const pollution".
>
> That is not to say that we won't use const in some limited cases.
Please describe the effects of "const
In ACPICA, we tend to be very careful concerning the "const" keyword in order
to avoid a phenomenon known as "const pollution".
That is not to say that we won't use const in some limited cases.
Bob
> -Original Message-
> From: LABBE Corentin [mailto:clabbe.montj...@gmail.com]
> Sent: W
Hi LABBE,
[auto build test ERROR on pm/linux-next -- if it's inappropriate base, please
suggest rules for selecting the more suitable base]
url:
https://github.com/0day-ci/linux/commits/LABBE-Corentin/acpi-set-return-value-to-const-char-for-some-functions/20151015-030935
config: i386-randcon
10 matches
Mail list logo