From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5E83C433E0 for ; Tue, 2 Jun 2020 01:04:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A836D20897 for ; Tue, 2 Jun 2020 01:04:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="J+VlClE3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A836D20897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 36DB88E0007; Mon, 1 Jun 2020 21:04:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 31C868E0006; Mon, 1 Jun 2020 21:04:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 20AF38E0007; Mon, 1 Jun 2020 21:04:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0066.hostedemail.com [216.40.44.66]) by kanga.kvack.org (Postfix) with ESMTP id 059E48E0006 for ; Mon, 1 Jun 2020 21:04:58 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B0762181AEF09 for ; Tue, 2 Jun 2020 01:04:57 +0000 (UTC) X-FDA: 76882477434.19.shape40_8291660bd1841 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 9DC211AD1B7 for ; Tue, 2 Jun 2020 01:04:57 +0000 (UTC) X-HE-Tag: shape40_8291660bd1841 X-Filterd-Recvd-Size: 3301 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf31.hostedemail.com (Postfix) with ESMTP for ; Tue, 2 Jun 2020 01:04:57 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EC40120885; Tue, 2 Jun 2020 01:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591059896; bh=AnSNdRSqsjFKeYoZLRMr4xKYKyQVBFR0SObL7pVxlWg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J+VlClE3rDekkg2R7yiiQJd3wu7nmfzINylRoHCPWL36orPrpcHDxfj6geSUwsZwI 4PKHQFgmATC3zAbvqeleiyMOtScyLfTg4N+0X3wrlfZdBvF27Pm4Gpm+uoKnJRhOeP ydgn49aFrLAmxNlJAiTCSvMjy1+XJvGK9LPAHK2w= Date: Mon, 1 Jun 2020 18:04:55 -0700 From: Andrew Morton To: kbuild test robot Cc: "Daniel, Axtens," , kbuild-all@lists.01.org, Johannes Weiner , Dmitry Vyukov , Linux Memory Management List Subject: Re: [hnaz-linux-mm:master 169/698] include/linux/string.h:307:9: note: in expansion of macro '__underlying_strncpy' Message-Id: <20200601180455.1a2f38368da33c7a0bb8d6fb@linux-foundation.org> In-Reply-To: <202005301819.G4uARaFJ%lkp@intel.com> References: <202005301819.G4uARaFJ%lkp@intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9DC211AD1B7 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, 30 May 2020 18:07:21 +0800 kbuild test robot wrote: > tree: https://github.com/hnaz/linux-mm master > head: a085ccd0a3e9741df5fe3a0e54228dc033759169 > commit: e7c89f2e1992cc557c934608cc27e2b9759cb21a [169/698] string.h: fix incompatibility between FORTIFY_SOURCE and KASAN > config: arm-aspeed_g5_defconfig (attached as .config) > compiler: arm-linux-gnueabi-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 e7c89f2e1992cc557c934608cc27e2b9759cb21a > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm > > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/ratelimit.h:6, > from include/linux/dev_printk.h:16, > from include/linux/device.h:15, > from include/linux/hdmi.h:28, > from drivers/video/hdmi.c:28: > In function 'strncpy', > inlined from 'hdmi_spd_infoframe_init' at drivers/video/hdmi.c:230:2: > include/linux/string.h:297:30: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] > 297 | #define __underlying_strncpy __builtin_strncpy > | ^ > >> include/linux/string.h:307:9: note: in expansion of macro '__underlying_strncpy' > 307 | return __underlying_strncpy(p, q, size); > | ^~~~~~~~~~~~~~~~~~~~ Looks like another false positive. Daniel, is there a practical way of suppressing these? Thanks.