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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 EA224C2D0A3 for ; Mon, 9 Nov 2020 16:04:50 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5BCBB20897 for ; Mon, 9 Nov 2020 16:04:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DhfVSYyt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BCBB20897 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 980376B0036; Mon, 9 Nov 2020 11:04:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9092C6B005C; Mon, 9 Nov 2020 11:04:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 75C7B6B005D; Mon, 9 Nov 2020 11:04:49 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0119.hostedemail.com [216.40.44.119]) by kanga.kvack.org (Postfix) with ESMTP id 443B06B0036 for ; Mon, 9 Nov 2020 11:04:49 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D2BA3180AD81A for ; Mon, 9 Nov 2020 16:04:48 +0000 (UTC) X-FDA: 77465353056.25.size71_40165ac272ed Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id 9E68D1804E3A0 for ; Mon, 9 Nov 2020 16:04:48 +0000 (UTC) X-HE-Tag: size71_40165ac272ed X-Filterd-Recvd-Size: 5114 Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Mon, 9 Nov 2020 16:04:48 +0000 (UTC) Received: by mail-lf1-f68.google.com with SMTP id b1so13132193lfp.11 for ; Mon, 09 Nov 2020 08:04:47 -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=JnrG9RJWJ1GURzxoO82MkNDpDgf7PKf+g8WPhjqgHXjcsvNPMPfXMjk5C/j3IIc1De a15uXoZVRzsU/Sa28zZIvNdAxamfo+Aaxd5YIXoCjLI0rHPeV3kPg+tmcy8yfGYkPcNo iL7SuAL1jVtBi30z0+KiL0Ze+QKND9dhmwxjioATcVYjb9M+eOZBfH7F/aBReQ2vZ277 BQnRVU8cvck3hjdga6jeGxs5YPVs9gTg0f6LBouCCoVl1nInHAxGInLlyRv9i2vVoi8O v2quXH3BYeXDyBv5jOmsoEcpw9efBl0BhZgKCj61DpoJRM4HVqdtyrCay0TDESZjKMbM zQyA== X-Gm-Message-State: AOAM533uEtq6BVfJEdrNRcT+mot2GbwdODXoHi8CLREpRjd5PsYKUlCg 7+fYnTCqgMb/N5+rBnaT3DedYgv3EnL9Jh8Qr3Wtkg== X-Google-Smtp-Source: ABdhPJzDzkdosffI0Mz9qLpul3enRFWSt2c0NCrg0WZV4atZRzqfffs3kK/kAltbrs5+oqV1+15LwEjKbdf1Q9yaSRw= 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 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 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