Re: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-30 Thread Josh Triplett
On Wed, Dec 18, 2013 at 06:17:33AM +, Zheng, Lv wrote: > Currently we didn't do much on automatically optimized out ACPI_FUTURE_USAGE > functions as long as they do not affect the generation of vmlinux binary. They do affect the size of vmlinux, though, if they're left compiled in but not act

RE: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Zheng, Lv
kernel.org > > Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; Len Brown; linux- > > a...@vger.kernel.org; j...@joshtriplett.org; de...@acpica.org > > Subject: [PATCH 05/11] drivers: acpi: Include appropriate header file in > > utstate.c > > > > Include appropriat

Re: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Rafael J. Wysocki
> From: Rashika Kheria [mailto:rashika.khe...@gmail.com] > > > Sent: Tuesday, December 17, 2013 1:22 AM > > > To: linux-kernel@vger.kernel.org > > > Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; Len Brown; linux- > > > a...@vger.kernel.org; j...@joshtriplett.org;

Re: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Josh Triplett
@vger.kernel.org; j...@joshtriplett.org; de...@acpica.org > > Subject: [PATCH 05/11] drivers: acpi: Include appropriate header file in > > utstate.c > > > > Include appropriate header file acutils.h in acpica/utstate.c because > > function acpi_ut_create_pkg_state_an

RE: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Moore, Robert
22 AM > To: linux-kernel@vger.kernel.org > Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; Len Brown; linux- > a...@vger.kernel.org; j...@joshtriplett.org; de...@acpica.org > Subject: [PATCH 05/11] drivers: acpi: Include appropriate header file in > utstate.c > > Include appropriate head

[PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Rashika Kheria
Include appropriate header file acutils.h in acpica/utstate.c because function acpi_ut_create_pkg_state_and_push() has its prototype declaration in acutils.h. Also, encloses the function in acpica/utstate.c in ifdef condition of ACPI_FUTURE_USAGE. This eliminates the following warning in utstate.c