Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5373672pxu; Wed, 21 Oct 2020 23:53:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5nA2UuJdB8HdlgXVo4GmcFyxpBWjtviivFSChlIX8d/JiQ642y9kTdrZ1j5OOAbb/T8vk X-Received: by 2002:a17:906:bc50:: with SMTP id s16mr865770ejv.275.1603349609381; Wed, 21 Oct 2020 23:53:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603349609; cv=none; d=google.com; s=arc-20160816; b=pfhd11VZf+OVejGiqYpoSX4fG1ijyQ/gh5JSJNlHLUHNSGZGTw3yoYzwYRwJK4DGEt 7kCnju9SV86jer4QnadLGMqJw2Fu4f4elWTKilqHdjqyw5UTV20EnIqjx8fJr+Cpk1yF UbyPGO0xamk0sI5Goa8LrHBmk1FNufbBVmYQhSOkCIsX2imJYpZmNqP4BbVQogQrVB9M skuvsTAhGPQHtG4CbBsc4AFmuE5ulwoYeEJN7StPf9XJ7IerVxMDVxJ4QQL3vJHqfS0M Yu0zpjbKk8v8qPRS1y3zdM64CRSdRsJzf0l6DJgLTdFc6OgXcqxrbw83o+emOi/o4lUx 39Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=V+s7Ur1cmG5XqfTGOC/3u1pEc/MJLj9wk8CuInHNfl0=; b=oHFjPqkuWcjLVqdJDT8nhg1Hhy5/B3x7p0oD6MWYXSRdTnhvhQLkLADfLs46h+6toO p70yznvmKvmofkQPEKfc4LSzqqwPpR4ym/4alo1Iphpho2h7ALGDRfA9p9/fD13Jsq6n 8uAgOuF9G3N2cwf0FNdFghaVKJ60Jn+PJ+JejZtoXNMZicX4PlmxulNgohYsWTie59SM iEaX9DtoRtdPgaLX0AAA7Zq9AJXaHaiY54qtYODnoA6Shyp3BzUzi7Lt1gGvcxI/0CRe Re5Jgx6a9ubD+lWHdr/KE0Eun3GMgsTvTA0UbXAg/DzFSQQd3LRAAFSsrsNO7yzrQEOw jjZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u9o+ks4L; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si410200edj.441.2020.10.21.23.53.06; Wed, 21 Oct 2020 23:53:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@google.com header.s=20161025 header.b=u9o+ks4L; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505281AbgJUUXW (ORCPT + 99 others); Wed, 21 Oct 2020 16:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2505275AbgJUUXV (ORCPT ); Wed, 21 Oct 2020 16:23:21 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4758C0613CE for ; Wed, 21 Oct 2020 13:23:21 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id n9so2165831pgt.8 for ; Wed, 21 Oct 2020 13:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V+s7Ur1cmG5XqfTGOC/3u1pEc/MJLj9wk8CuInHNfl0=; b=u9o+ks4LjBOspKLmy2nyynqoBHh72LwZahO4wvabcZIKXobljmI08z32I7gYeTjSv8 seryJm+J7Smc6ZmBzbscs/8VQb31DY3hgnDvlZ6xBx2A18Dol4MFV08Kme2W39g+Dgwi y9uOlIGO/TPcPqXUT1ko2Q7XS0xkxCjKR9VTvFDXsN8rJXW7G39x4yt2IIGUrK2Gs4bM I/55fD9Fw8DMf0CY2B0G8dXzK5RX5jiFDw6SpzeXeKLt2JX3SUNsLhS54aAApjuKmqIg TT8CQGejVYOPEycZFFTyY6EIfivQw+cZ5G+izSNSd2xfXKlylHUnqhUj4pZaHJ9Gst/6 qtEQ== 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; bh=V+s7Ur1cmG5XqfTGOC/3u1pEc/MJLj9wk8CuInHNfl0=; b=rcHwzJ6ZmOs9UYZTYiN2FLZRNuYEIQsTLnGcNMNz2CJOD0hr7DMZFfEsRW2NZgftXX G2q5Fgy03YkxgDu9v9Yq0mSYJLRBjVRec5jRUMpq/KzSkppWVss6++/7uWfqwAupHgAy cI5ZULymrFG7Hg/H6xJ206cW6ROlzHGO5Y2LzbNW4dNMu3vdSdBE6to78sXtdojyt8H5 9Ft7xLsdyUW2N/1hK8GkkyUqXd5PfBgRFyASqh2rbJYxIFqzxFMNI8V3L5jgn0pj03xJ yDtMrwhBlHcplgDgfXANfzDeCB8tfrQS8Ua+tE9HA6/5DoOqB/ivL4LeQPnOw2jytACf mO6w== X-Gm-Message-State: AOAM533Bi1oAPuqMwW7bA+zfFtFaki1Xh1UB2VV+j9/oz4utDTuRipsR whYbZSIfXtxvx6egmlhKTV633TTZJ9DikCZujjYyeA== X-Received: by 2002:a62:1613:0:b029:152:743c:355c with SMTP id 19-20020a6216130000b0290152743c355cmr5213068pfw.15.1603311800680; Wed, 21 Oct 2020 13:23:20 -0700 (PDT) MIME-Version: 1.0 References: <1cecfbfc853b2e71a96ab58661037c28a2f9280e.camel@perches.com> In-Reply-To: <1cecfbfc853b2e71a96ab58661037c28a2f9280e.camel@perches.com> From: Nick Desaulniers Date: Wed, 21 Oct 2020 13:23:08 -0700 Message-ID: Subject: Re: [PATCH -next] treewide: Remove stringification from __alias macro definition To: Joe Perches Cc: Ard Biesheuvel , Thomas Gleixner , Borislav Petkov , X86 ML , "H. Peter Anvin" , Miguel Ojeda , Marco Elver , Dmitry Vyukov , Herbert Xu , "David S. Miller" , Andrey Ryabinin , Alexander Potapenko , Andrew Morton , Linux Kernel Mailing List , linux-efi , kasan-dev , Linux Crypto Mailing List , linux-mm Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Oct 21, 2020 at 12:07 PM Joe Perches wrote: > > On Wed, 2020-10-21 at 21:02 +0200, Ard Biesheuvel wrote: > > On Wed, 21 Oct 2020 at 20:58, Joe Perches wrote: > > > Like the __section macro, the __alias macro uses > > > macro # stringification to create quotes around > > > the section name used in the __attribute__. > > > > > > Remove the stringification and add quotes or a > > > stringification to the uses instead. > > > > > > > Why? > > Using quotes in __section caused/causes differences > between clang and gcc. > > https://lkml.org/lkml/2020/9/29/2187 > > Using common styles for details like this is good. Luckily, there's no difference/issue here with alias as there exist with section: https://godbolt.org/z/eWxc7P So it's just a stylistic cleanup, not a bugfix. Acked-by: Nick Desaulniers $ grep -rn __attribute__ | grep alias didn't turn up any other cases that look like they don't use strings. -- Thanks, ~Nick Desaulniers