Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1313999pxb; Sat, 4 Sep 2021 06:24:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/zOKnKVYsaa8tP53n4k4w+Kc0AgJRAMc/hHkWArspoc1vver9FYqNepyj7hgLVrFjBdqD X-Received: by 2002:a92:de4b:: with SMTP id e11mr2743067ilr.22.1630761899234; Sat, 04 Sep 2021 06:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630761899; cv=none; d=google.com; s=arc-20160816; b=oNgS8nb0HF9mEFpWJcrcmvqWecHOvfS8trs5xr5YgRXPYnrlJwFwdZpBEXyqFAc0Em wimA6Ilkdi2zmdNR3CJ5bxfIff0O+VHzD9UtnA8/8eeyzZEQRPKXhfl0j6Z4o4KKzvOG T5nFIcJuAjsOgzsZnvtpsxHrzDbdE5yI4AmNoQv3F7fi0WoxOX0z6oIbT2xmjfQrqYih YHhWZqXK1UqyAm50BK4qL9vKlNRQ20li0hIwZI6JNVC2pCzwVXzRSXb19/EyDPFJC6FJ Ug1a6E5s6jPQavqImIx1L8d5JBfv//zp02f4KUXtUhM6k2qAox5Sw2i/On051+XuJ8im DE5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VedANFIqdoIjEowtEWOZv/ASCI66wxx8Mg47+8sNjBE=; b=NCDm2epYZajaW6t034M8ZiHUn9LHMIBhYdNFaoDys2Y7GofLbfQgrblDZYbAvWoTgG XzPl5ovzllEtjcdhRj2x20tG4KeAsb2owJqlVs5cVGTuUfv3iOfnbW+lA9ID6rQx8AWE emKE7jtS0PfptNE44cCW0WYpYwY1+uItEf9jNH6x86ZLIzIJnjrkjz4T805FX32lzihZ XVHw+fC0ha6j1EkqzaOZ0nCGyrHtSJGWFsZs9NqlsJpIrUH/gi4XZJejQYY5MyARcWOj ZLEmT4CQ3yPMrSwOBSfv3qCwP4zmaHEItSBLO7pl4OCSSJjEROPBw0JRcCRR/QXDTPMm PZEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=KGRV4H0r; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si2714100iow.113.2021.09.04.06.24.47; Sat, 04 Sep 2021 06:24:59 -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=@gmx.net header.s=badeba3b8450 header.b=KGRV4H0r; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231528AbhIDNYS (ORCPT + 99 others); Sat, 4 Sep 2021 09:24:18 -0400 Received: from mout.gmx.net ([212.227.17.22]:41841 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbhIDNYQ (ORCPT ); Sat, 4 Sep 2021 09:24:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630761779; bh=VedANFIqdoIjEowtEWOZv/ASCI66wxx8Mg47+8sNjBE=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=KGRV4H0rUFaNpYk30tnCxpFQBIMZsXQRwqWykxbSnBD1qN2GhR5Ta99iwq/NZyBiQ QSiuR+R1jpvHgoUX6mv22UAiIuQNKio8kIdZ5t0jWWShfmwu3W4dIpLPYGqyBXgXqU zb4skP+/Csih/O2Nlz10uU0XlGNbr3lFJNzS3qUo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from titan ([79.150.72.99]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MTiPl-1mYF5T3bzh-00U0Aj; Sat, 04 Sep 2021 15:22:59 +0200 Date: Sat, 4 Sep 2021 15:22:44 +0200 From: Len Baker To: Borislav Petkov Cc: Len Baker , 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: <20210904132244.GA2384@titan> References: <20210903150539.7282-1-len.baker@gmx.com> <3a035a3ec4571a622ce640e042f9a119@perches.com> <20210904094451.GA2998@titan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:01/cutQ6WDHs06bO6yQe43QhF9ZJYQd4XTLYWuJ5jvZM09VoDut y9NBU3I1Cv8oxk8tZITw/Rb2wptgQQ6Y57HhPuhEJ5syUOmI63Djkf4kf+ErgacjINoSvz8 9HtHWTqeeUa61gOek37pjXBJOAPgJnKFEGcRz1R88SCQ2379R0oAYGLBy9EF5Pk2Icarcg6 ETvXR66cQz3CInpw4yF7Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MDv4+8Eu+1c=:3eglAEAFlOmd9f4/pip2Pg Nbll9pQ6VVQBu/4pdJ6kdsLTUecOq2sn+f3V44l37diWcR9UR0KV6zSnORM599u3GozJx0teD qQ9b4zZxD/qHLDlk1hZguRKSN9/UrjFGtxva6qmYLN9VCTIhILmXVPEvYRjMx4oZqwSdAoYkM zOtl6hB2gXtLGP2NsyQ5Qxcgz4B17sUKKdJunrnDO5bKEI2cvAgCKIeQPtT7fPGKA5ZeCSDdj lt/A/ugYsE/cAnXNK+3ikKXXCZliqDoRXaNmsih3S/6N+CWnSwhZ/IW2fxPn6lnKmLQhLT2cf s2o/V5DQhgZpkLwDH1khQ2+QSgjYSV2o32R5OU8CmnslpYNJOfPUQd2ZiFib9AGpyxOgYhCOp krqcaNGA54hkXSWJxKYSfCzMiEEBw1a3tyfuWwj2vr5ukCjobBM6XTyeWZ3sWlP9aEs7+3Klv gOI2vCdL/wlsSTrcpRjdDoaOEh2R4cRqDRcn1sbMj5CweLb2WzqkTEfQ7WibtY2MFL7nOvh4g HYRH6aiadekvQ3BeWs1OsuEjilPCM8LCbt+vZLpPOxPrdjRStBdU6NqglEMYxplSRFGE35Xge mLqJT1xcatTZS42KZFuWyq5Rf9hAnvbGvm2MIuYKhff+coZBh/RaK00ta9OTEp365dpbvQe4m n7qXwWvXxI8J/9Pfw/PCQjnU4dsCtdkeL0RwH9P85QUpTYT4HKGyELXr1efARjIWpHkAjzBA/ q/BW2mNW5PYzwB2DlRprj3G3FiULEDdLaPz0ZdW5lhAqnEPB89MATRd/qSoUP8SZ59kPnm5Pp ISjgYZcvnMglhLMhcf5m+nNG1gftWU1bID1E5GCbPe+dsh9XkozS9WJCqSoM32ZDMmBVXLuVs JqkTbOoYXYdDZT1utwRk+nwnYWxea3qtqm5t5fu1JhY6mXZw6XLxd3mrt2PDitQpqeW5o0GKd W3nnwYpIr+G5K9EBm911GPjNyIKg60CFp1xRdgde8QcZDT1k7syUYwOLSuQeose23ycfqHw9f loHcfpopwdbd+nwlY/9rhC+du8qxfBy+ooToaO1s132rfsdfOtk/wbvFKnBLUe9kSaAxHV7H+ Fk4DYAjDMgH4eeXCP8UE0XcZma84sbO1K2oJghXmG37jHfmj8TGXt3uLA== Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Sep 04, 2021 at 01:36:26PM +0200, Borislav Petkov wrote: > 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. Ok, so I leave the patch as is. Thanks, Len