Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3319151pxb; Mon, 9 Nov 2020 08:09:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsZQWRpbXE5GIca7FcMlQqw23b/GNvH8djQ2RbDKCuXhqzBHhmIF77jApC+TGbrQKnrC+f X-Received: by 2002:a17:906:13d4:: with SMTP id g20mr15392363ejc.206.1604938157425; Mon, 09 Nov 2020 08:09:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604938157; cv=none; d=google.com; s=arc-20160816; b=Fo1haDYay/zl2wiMDTVBXVeeKPS7sTR0W+HMc08dWFNjpezy8b0DT22NIiQSqTM67P CojNfZhyBxISYvukx60wqkHrbL5uzPqpj7DeX80lNFo03wRmlweyufSfCZHADwpwfpDO 640fJWNYgp/iS0dOZaj4ExYvFAaxXjl3UD6/ioxLhczOT/TddmRyTC+wFrRJb7E3Ixqs WDiOp9ulk0c8M+KGp32kSNFoQAt79bV3EurN3lG+OiInFPDyQ+UB8lh+C3heV67qjEKk AGRnQ7lERXtQIYMGm40zTtZGTcsXPDJ8EJp+8Rs7ocMmgJoli/3NfmyU8Dd6vgBZsoOR Q+Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jeP73yjot5P5PYYoDTHv8FWcNF9fYzo7D6kb+Sl6j0A=; b=q3werpz0GXh2QYhUOwF3EFJMIAEPgBnRh1jTnFy4dUvYF8wV+8Ni5IAaGJ67PNp+SQ o6AKk1SGgAqX/R98oOpC/IoectwE+6mrSWelTl3drJz7MYC711KhOEQDbF21yW55l5F3 UMJ54I/aAVQNObFvMfV7mVbkE9v1oesd2k6FGmLZZIxJOa6sgP7zD9Djg4r3dlbUPukp Oipb5Bgsphpsvq8NP0yu1OMZ7PRvaEvt/kty4NOSyhT0DW/159GVKjXB1OmPa0/6GFUz kpJ9+8nGmd2s8A/+LynfEByi0aTbhg0mX8pC8ODK1gYrxXmbAdSiAvi69cRbdJr8t2bC h5hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DhfVSYyt; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si1831241ejf.231.2020.11.09.08.08.52; Mon, 09 Nov 2020 08:09:17 -0800 (PST) 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=@linaro.org header.s=google header.b=DhfVSYyt; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729868AbgKIQEt (ORCPT + 99 others); Mon, 9 Nov 2020 11:04:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729243AbgKIQEs (ORCPT ); Mon, 9 Nov 2020 11:04:48 -0500 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 554C5C0613D3 for ; Mon, 9 Nov 2020 08:04:48 -0800 (PST) Received: by mail-lf1-x144.google.com with SMTP id 74so13152932lfo.5 for ; Mon, 09 Nov 2020 08:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jeP73yjot5P5PYYoDTHv8FWcNF9fYzo7D6kb+Sl6j0A=; b=DhfVSYytQa41IShEE+cQjYskmCpWinvvfZR7MH3wG2xOAhdpSP1Y0uX+DL8NMmqE9C hdwcJgkhXxlIBMKzS7jTSPNY/X5VTGEDovba3wdZlzPDUKtQrTt0kBzzYd+KZEoma9Jg HzwrAdF4a93O/Si8uRG8fa4ovmMtxKelWKWq8tK+dSyJCorOLnTHsqSe5MyMCG1Jvf1/ jaTU5kuN0Ia5/1HSNTqNd9Mxxct3jrUoKUSqeRK+qdnU+21cUFy3uztJUvZoiFQDRQX0 bJtdmaoD2BO1LmHzkuD7U2eY0vP+MGwg8RVn7ivLSrsbIMcXoEIGsgOtjo0vlJiMEFFk Eaig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jeP73yjot5P5PYYoDTHv8FWcNF9fYzo7D6kb+Sl6j0A=; b=WPgAdpHzFts6rh9/1/H0FhtozV/iaWwgiN5lw64C3nFF3Ro4Z+NB+ZxhmfzRJcEp7i 0gTINzDRHUVbHCCd1hnKprcL0IaJV78aT7XWlvO8+UTNOUN1ih+19MqcWTlp+zmxiuOF qW00p0+NnpQ/QIGNYX3Mnorg3YaHQDWr/6yvjL+YQdESJhg0gxEoeJN/JnuxrXv5IfMu Z0F6+ei9fK1eOMT9rGgs3ac8o7ma2Y9RpkTDSv0rDaB9lDn1ItOano/p9vGjoSt/P0u6 Vw545Zto2a3ogG7OGyrFu/NPQBJqTuOvuPV7eIOOOEXKfssO/4nmhYWGi4BD9XpM4Orp CmSQ== X-Gm-Message-State: AOAM5332+fMh3KUd/2CjOR+5n7EoFOjOektkbCirAH5Pzw2gqQCsdp1z 2n6xvNlZ5DAsTKb9/aPWuLtRuZDltV1bs5BcklT88A== X-Received: by 2002:a19:ca05:: with SMTP id a5mr2891098lfg.571.1604937886671; Mon, 09 Nov 2020 08:04:46 -0800 (PST) MIME-Version: 1.0 References: <20201108222156.GA1049451@ubuntu-m3-large-x86> <20201109001712.3384097-1-natechancellor@gmail.com> In-Reply-To: <20201109001712.3384097-1-natechancellor@gmail.com> From: Linus Walleij Date: Mon, 9 Nov 2020 17:04:35 +0100 Message-ID: Subject: Re: [PATCH] ARM: boot: Quote aliased symbol names in string.c To: Nathan Chancellor Cc: Andrew Morton , Abbott Liu , Ahmad Fatoum , Andrey Ryabinin , Ard Biesheuvel , Florian Fainelli , Joe Perches , Russell King , Stephen Rothwell , kasan-dev , Linux ARM , Linux Memory Management List , Linux-Next Mailing List , "linux-kernel@vger.kernel.org" , Naresh Kamboju , =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 9, 2020 at 1:19 AM Nathan Chancellor wrote: > Patch "treewide: Remove stringification from __alias macro definition" > causes arguments to __alias to no longer be quoted automatically, which > breaks CONFIG_KASAN on ARM after commit d6d51a96c7d6 ("ARM: 9014/2: > Replace string mem* functions for KASan"): > > arch/arm/boot/compressed/string.c:24:1: error: attribute 'alias' argument= not a string > 24 | void *__memcpy(void *__dest, __const void *__src, size_t __n) __a= lias(memcpy); > | ^~~~ > arch/arm/boot/compressed/string.c:25:1: error: attribute 'alias' argument= not a string > 25 | void *__memmove(void *__dest, __const void *__src, size_t count) = __alias(memmove); > | ^~~~ > arch/arm/boot/compressed/string.c:26:1: error: attribute 'alias' argument= not a string > 26 | void *__memset(void *s, int c, size_t count) __alias(memset); > | ^~~~ > make[3]: *** [scripts/Makefile.build:283: arch/arm/boot/compressed/string= .o] Error 1 > > Quote the names like the treewide patch does so there is no more error. > > Reported-by: Naresh Kamboju > Reported-by: Valdis Kl=C4=93tnieks > Signed-off-by: Nathan Chancellor Reviewed-by: Linus Walleij > Hi Andrew, > > Stephen said I should send this along to you so that it can be applied > as part of the post -next series. Please let me know if you need any > more information or clarification, I tried to document it succinctly in > the commit message. I wasn't even aware that there was such a thing as post-next. Thanks, Linus Walleij