Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1259383pxb; Sat, 4 Sep 2021 05:00:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6dIwzu1c8TwZSiGSGNJkX003pt/4+KBd5xRTvo8od5s8vhSQfGLKG8kyUguk3G9n+qIHm X-Received: by 2002:a17:906:d1d6:: with SMTP id bs22mr3994017ejb.554.1630756841859; Sat, 04 Sep 2021 05:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630756841; cv=none; d=google.com; s=arc-20160816; b=pDfIlccmgkEMfqR7lJJgYzqxi2T+pezSLF6GJavae3vZGiFv8sD9TZ44+F7JfSYwRs OQVQ1yddUqFvctOh5G3iXcIlLo4C0gOE2cClQzhbGBm59U2VUXwbm2kvMs1Je3iHwjki 8+W52jN5Jf1I5jshg6M0kV+1jCVfOGAJHl//6ItPDec0Och2FClyOqGfptEKq7yVgilh SU1CMDfOEp57QiJ6pJHOLlPwdNoM8nsuKipvEfX8Kkhk1YTcTZsQhC0iSdlItFc4lpuu B4QPrbf8t52FVQKMb2xZgbuDMdjc2fcW6ASkB12Q9FZdIHO2Kued1dpojAXBIDPMZHZQ 0XBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bNz2wO5A10EBoDUwbw7sbTcYANL0Xzq9LCPwpzZpHNw=; b=MZ7gd0ISkGumMe83pJUAbcn3BENBPbgfGyLmmlKvQtDCCr0F8XvASSZiaLmLpHhaOc ntcb5J6jIbcBJC+xg5t1zqO5+svGeZ8S3L5WO7ok4VZmI46iOkudre+GblbbbOMEXyqv SJtlVIxzXfGyvnZazDol757h4s3DSTyVNankAIgpgFvCHb9FlfCMTpsO/QCygRfY9/NX NZAvXc/BOGchTS1mA6xyKts//Ogtv21wuCwSbxQgYbVzps+fp5bi4I972XAKkL6K/tQ6 bNe7kz9iybfjdyU8hpBndIkCRJTdkbIMzS8fq2absQTcOG6BkRi8FK+DcwywT2apuMDr 6Odg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=W5Zq+r+m; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si2189664ejl.556.2021.09.04.05.00.01; Sat, 04 Sep 2021 05:00:41 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=W5Zq+r+m; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234114AbhIDLhf (ORCPT + 99 others); Sat, 4 Sep 2021 07:37:35 -0400 Received: from mail.skyhub.de ([5.9.137.197]:36694 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbhIDLhe (ORCPT ); Sat, 4 Sep 2021 07:37:34 -0400 Received: from zn.tnic (p200300ec2f1bee0072f9cf00d8ebb3d8.dip0.t-ipconnect.de [IPv6:2003:ec:2f1b:ee00:72f9:cf00:d8eb:b3d8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id EE21A1EC05E9; Sat, 4 Sep 2021 13:36:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1630755392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=bNz2wO5A10EBoDUwbw7sbTcYANL0Xzq9LCPwpzZpHNw=; b=W5Zq+r+m6/GFifoxZCo4ZkmG2c0mX/ffe2Ey6XHiAcci1nxZgyKfM5pcnFR0zEXV2uNaAe 7Kg27wPmIm5i7kHvTjn7eoJEU4p5R1UGMEVgdHRaX2WyKcoF92cOq4w6qucUFN41A1VvAn /um2yHxk6sl7xtwlD/C4vqxF5eN4ooc= Date: Sat, 4 Sep 2021 13:36:26 +0200 From: Borislav Petkov To: Len Baker Cc: Joe Perches , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , David Laight , Kees Cook , linux-hardening@vger.kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] EDAC/mc: Prefer strscpy or scnprintf over strcpy Message-ID: References: <20210903150539.7282-1-len.baker@gmx.com> <3a035a3ec4571a622ce640e042f9a119@perches.com> <20210904094451.GA2998@titan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210904094451.GA2998@titan> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 04, 2021 at 01:23:03PM +0200, Len Baker wrote: > I can remove the macro and add a comment with some explanation. No, please leave the macro. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette