RE: [PATCH 0/5] ia64: Fix compiler warnings

2016-05-05 Thread Luck, Tony
>  ia64/PCI: Fix incorrect PCI resource end address
>  ia64/PCI: Remove unused 'addr' and fix build warning
>  ia64: Reduce stack usage by iterating over nodemask
>  ia64/traps: Silence GCC warning about uninitialised variable
>  ia64/unaligned: Silence another GCC warning about an uninitialized variable

Applied all 5.  I was a little leery of the two that added "default:" cases
to switches ... but I don't see a cleaner way to unconfuse the compiler
without a more radical restructuring of the code.

Thanks

-Tony


RE: [PATCH 0/5] ia64: Fix compiler warnings

2016-05-05 Thread Luck, Tony
>  ia64/PCI: Fix incorrect PCI resource end address
>  ia64/PCI: Remove unused 'addr' and fix build warning
>  ia64: Reduce stack usage by iterating over nodemask
>  ia64/traps: Silence GCC warning about uninitialised variable
>  ia64/unaligned: Silence another GCC warning about an uninitialized variable

Applied all 5.  I was a little leery of the two that added "default:" cases
to switches ... but I don't see a cleaner way to unconfuse the compiler
without a more radical restructuring of the code.

Thanks

-Tony


[PATCH 0/5] ia64: Fix compiler warnings

2016-05-04 Thread Matt Fleming
I routinely build ia64 kernels when merging EFI patches and for a
while now I've seen a bunch of warnings from GCC.

These patches silence those warnings, with the first patch fixing an
actual bug but the rest just making GCC happier.

NOTE: None of these patches have been runtime tested.

Matt Fleming (5):
  ia64/PCI: Fix incorrect PCI resource end address
  ia64/PCI: Remove unused 'addr' and fix build warning
  ia64: Reduce stack usage by iterating over nodemask
  ia64/traps: Silence GCC warning about uninitialised variable
  ia64/unaligned: Silence another GCC warning about an uninitialised
variable

 arch/ia64/kernel/traps.c   |  1 +
 arch/ia64/kernel/unaligned.c   |  1 +
 arch/ia64/sn/kernel/io_acpi_init.c |  1 -
 arch/ia64/sn/kernel/io_init.c  |  4 ++--
 arch/ia64/sn/kernel/sn2/sn2_smp.c  | 35 +++
 5 files changed, 27 insertions(+), 15 deletions(-)

-- 
2.7.3



[PATCH 0/5] ia64: Fix compiler warnings

2016-05-04 Thread Matt Fleming
I routinely build ia64 kernels when merging EFI patches and for a
while now I've seen a bunch of warnings from GCC.

These patches silence those warnings, with the first patch fixing an
actual bug but the rest just making GCC happier.

NOTE: None of these patches have been runtime tested.

Matt Fleming (5):
  ia64/PCI: Fix incorrect PCI resource end address
  ia64/PCI: Remove unused 'addr' and fix build warning
  ia64: Reduce stack usage by iterating over nodemask
  ia64/traps: Silence GCC warning about uninitialised variable
  ia64/unaligned: Silence another GCC warning about an uninitialised
variable

 arch/ia64/kernel/traps.c   |  1 +
 arch/ia64/kernel/unaligned.c   |  1 +
 arch/ia64/sn/kernel/io_acpi_init.c |  1 -
 arch/ia64/sn/kernel/io_init.c  |  4 ++--
 arch/ia64/sn/kernel/sn2/sn2_smp.c  | 35 +++
 5 files changed, 27 insertions(+), 15 deletions(-)

-- 
2.7.3