Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1131821ybg; Mon, 27 Jul 2020 08:39:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiC1pnU43aw8MKqzKt79i3JShskSbpnWId2u7YPMdcxUi3OrbxJqm5/3Jmcuc3Nn5dVnhX X-Received: by 2002:a50:fe18:: with SMTP id f24mr21898824edt.14.1595864366460; Mon, 27 Jul 2020 08:39:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595864366; cv=none; d=google.com; s=arc-20160816; b=C25VwDbq99IK9MJzbBpFSB9mW8Xwe8w1x7ZGdrscYjEF+FhArQYmESngM4E35Ltp0S BaP4WAUrylBO8GrdvzROfZXojV6w9sktlHJCZndeZ/lvle9CRtHMvskQXhChqyPaALgo TRxq2EaVFNSv29R+qqjJkk4Wf9I+FduEHOO5lv4+5S9DwctePpYjtJ4zjhjrYNUBSFA7 CF4AyRpWBJeRzW199nGAyF2L64YtcBXNclDDnFNGI35b/Tbgme/FUyIPMbLnVpNGpnH8 Vhz76C91MVtytTgoyA7UGZuSWQ57FxGqkYowEt7CmfX4yNgT5ifUgnweH8NALFbHk/po RXHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=nQV+DxPNwf4P1llEMgc4tCqSWmK/S7Z1OaMxZbd8raE=; b=i9ZGTuZKwJ6diQxRfqn2FyF5lM4awxPhnX10zd0U5aX4GONRwqbNk3MEiH9RNNlKQN zcAezOHBaOxoatEk0FyIb0/mO2i5vIMV7D01+1A3ftcK+J4CUBRULD8EnOHt/J1mspbi PaYEerdxER+Ps9237AiPByhQeQJhzDAxyUHY4I6O6dMp6VNo3YTSvOP0330YTCFVjStx qwWrKAOQsh8jZxPUcyhCAYrxLSIQtyMUD5MfTUvJnEhn03ChILaNaX3akMpLcqczM5nq aUze0DWQoAuhXRGFA6bj3qyc2GR2zbmutgrN6+O53HAgrDM04GBHnplWa9JRIisgT8bd FAwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si1194662ejb.69.2020.07.27.08.39.03; Mon, 27 Jul 2020 08:39:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729899AbgG0PgI (ORCPT + 99 others); Mon, 27 Jul 2020 11:36:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:57320 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbgG0PgI (ORCPT ); Mon, 27 Jul 2020 11:36:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 13D2DADBB; Mon, 27 Jul 2020 15:36:17 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 5B096DA701; Mon, 27 Jul 2020 17:35:38 +0200 (CEST) Date: Mon, 27 Jul 2020 17:35:38 +0200 From: David Sterba To: kernel test robot Cc: David Sterba , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: fs/btrfs/tests/../ctree.h:2166:8: warning: type qualifiers ignored on function return type Message-ID: <20200727153538.GP3703@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, kernel test robot , David Sterba , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202007272305.7v7EMn6N%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202007272305.7v7EMn6N%lkp@intel.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 11:02:07PM +0800, kernel test robot wrote: > Hi David, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 92ed301919932f777713b9172e525674157e983d > commit: f7cea56c0fff95bd5a6cd21b9fa299f66193b604 btrfs: sysfs: export supported checksums > date: 8 months ago > config: h8300-randconfig-r021-20200727 (attached as .config) > compiler: h8300-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout f7cea56c0fff95bd5a6cd21b9fa299f66193b604 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > In file included from fs/btrfs/tests/extent-map-tests.c:8: > >> fs/btrfs/tests/../ctree.h:2166:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] > 2166 | size_t __const btrfs_get_num_csums(void); > | ^~~~~~~ Ah right, the attribute is supposed to be __attribute_const__, thanks for the report.