From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934983AbdEVS1m (ORCPT ); Mon, 22 May 2017 14:27:42 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33634 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933452AbdEVS1k (ORCPT ); Mon, 22 May 2017 14:27:40 -0400 Date: Mon, 22 May 2017 11:27:38 -0700 From: Matthias Kaehlcke To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH v2] zlib: Mark get_unaligned16() as __maybe_unused Message-ID: <20170522182738.GK141096@google.com> References: <20170519181016.17921-1-mka@chromium.org> <201705221620.XOEATD0u%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201705221620.XOEATD0u%fengguang.wu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org El Mon, May 22, 2017 at 04:57:30PM +0800 kbuild test robot ha dit: > Hi Matthias, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.12-rc2 next-20170522] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/zlib-Mark-get_unaligned16-as-__maybe_unused/20170522-112401 > config: powerpc-maple_defconfig (attached as .config) > compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=powerpc > > All errors (new ones prefixed by >>): > > >> arch/powerpc/boot/inffast.c:6:22: fatal error: compiler.h: No such file or directory > #include "compiler.h" > ^ > compilation terminated. I was convinced I build tested this, but I can reproduce the error. I guess we have to use the bare __attribute__((unused)) :/