Re: [PATCH] ACPI: Eliminate usage of uninitialized_var() macro

2020-06-24 Thread Rafael J. Wysocki
On Monday, June 15, 2020 6:00:47 AM CEST Jason Yan wrote: > This is an effort to eliminate the uninitialized_var() macro[1]. > > The use of this macro is the wrong solution because it forces off ANY > analysis by the compiler for a given variable. It even masks "unused > variable" warnings. > > Q

[PATCH] ACPI: Eliminate usage of uninitialized_var() macro

2020-06-14 Thread Jason Yan
This is an effort to eliminate the uninitialized_var() macro[1]. The use of this macro is the wrong solution because it forces off ANY analysis by the compiler for a given variable. It even masks "unused variable" warnings. Quoted from Linus[2]: "It's a horrible thing to use, in that it adds ext