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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAB10C433F5 for ; Thu, 10 Mar 2022 15:49:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 52CD58D0002; Thu, 10 Mar 2022 10:49:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4DB638D0001; Thu, 10 Mar 2022 10:49:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3A2F18D0002; Thu, 10 Mar 2022 10:49:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id 27B308D0001 for ; Thu, 10 Mar 2022 10:49:57 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id E237A21E12 for ; Thu, 10 Mar 2022 15:49:56 +0000 (UTC) X-FDA: 79228912392.11.DE080E5 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf05.hostedemail.com (Postfix) with ESMTP id 4CCCF10001E for ; Thu, 10 Mar 2022 15:49:56 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 798F0B8254A; Thu, 10 Mar 2022 15:49:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE40AC340E8; Thu, 10 Mar 2022 15:49:52 +0000 (UTC) Date: Thu, 10 Mar 2022 10:49:51 -0500 From: Steven Rostedt To: Tom Zanussi Cc: kernel test robot , kbuild-all@lists.01.org, Linux Memory Management List Subject: Re: [linux-next:master 4605/11713] kernel/trace/trace_events_synth.c:65:9: warning: 'strncpy' specified bound depends on the length of the source argument Message-ID: <20220310104951.60d0adb6@gandalf.local.home> In-Reply-To: <93bb0a79331882df8ce2bf704b3d4ac28c8cbc3d.camel@kernel.org> References: <202203092349.i2I1pdlw-lkp@intel.com> <93bb0a79331882df8ce2bf704b3d4ac28c8cbc3d.camel@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 4CCCF10001E X-Stat-Signature: obgm7g7tswfgxfhhidga8jo9ka6snsx1 Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf05.hostedemail.com: domain of "SRS0=xcyr=TV=goodmis.org=rostedt@kernel.org" designates 145.40.68.75 as permitted sender) smtp.mailfrom="SRS0=xcyr=TV=goodmis.org=rostedt@kernel.org" X-HE-Tag: 1646927396-615043 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 Thu, 10 Mar 2022 09:12:39 -0600 Tom Zanussi wrote: > On Wed, 2022-03-09 at 23:48 +0800, kernel test robot wrote: > > Hi Tom, > > > > FYI, the error/warning still remains. > > > > > > Thanks, the patch below fixes it. I'll submit to lkml, but not sure > whether to submit the fix or resubmit the original patch... I don't rebase my linux-next branch unless there's a really go reason to do so. But I also have this patch going through my testing: https://lore.kernel.org/all/20220308110736.479e3cc9@gandalf.local.home/ Which I believe fixes the issue. But we can use this patch too, but I do get nervous about plain strcat(). -- Steve