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=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 2506DC433F5 for ; Sat, 4 Sep 2021 11:36:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F255560FDC for ; Sat, 4 Sep 2021 11:36:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235604AbhIDLhf (ORCPT ); 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