Re: [PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread kbuild test robot
Hi Matthias, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc1 next-20170518] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread kbuild test robot
Hi Matthias, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc1 next-20170518] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread Matthias Kaehlcke
The function is not used with all configurations. Adding the attribute fixes the following warning when building with clang and CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y: lib/zlib_inflate/inffast.c:31:1: error: unused function 'get_unaligned16' [-Werror,-Wunused-function] get_unaligned16(const

[PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread Matthias Kaehlcke
The function is not used with all configurations. Adding the attribute fixes the following warning when building with clang and CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y: lib/zlib_inflate/inffast.c:31:1: error: unused function 'get_unaligned16' [-Werror,-Wunused-function] get_unaligned16(const

[PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread Matthias Kaehlcke
The function is not used with all configurations. Adding the attribute fixes the following warning when building with clang and CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y: lib/zlib_inflate/inffast.c:31:1: error: unused function 'get_unaligned16' [-Werror,-Wunused-function] get_unaligned16(const

[PATCH] zlib: Mark get_unaligned16() as __maybe_unused

2017-05-18 Thread Matthias Kaehlcke
The function is not used with all configurations. Adding the attribute fixes the following warning when building with clang and CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y: lib/zlib_inflate/inffast.c:31:1: error: unused function 'get_unaligned16' [-Werror,-Wunused-function] get_unaligned16(const