Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp212490ybl; Mon, 12 Aug 2019 14:52:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzt0jsnM4PAH9qUFjo+6SNscTtG8Ysn+r6FmPR1LgzDvu4P9OUTLx37VZjK1OG8Pfxq+U7k X-Received: by 2002:a17:90a:a114:: with SMTP id s20mr1285055pjp.20.1565646747161; Mon, 12 Aug 2019 14:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646747; cv=none; d=google.com; s=arc-20160816; b=yiYsSBdcJ9ksB5sP9aw0GCNljUbeR5MCTOnxwH8kfZ7YKHvCm2RYY7FhgYpBLPCND2 Nz1FcwwPKf5qNAGuGAV2+L3ETMECkBG5SWzCpiQfvDtukMUW1FNp5tZ87ckFe4q32c3v 5eCGPBcb9LXAjUuVC3LCq1bNIcCF767TiE4Gke9nr27JNPN7qRL20KWjZ5S3xNv4f8Dp UCmXlHMowRDala8HWXVqyNith60VPTGsH5yaitemy3QYCvbFeHYF7+VPBIAlW+Xm6kmX eixJp4Cku34k5cl8ASOpVronVSNvc2D9oAuh3cdwF/7RBkkIysdMio92IgudonFT2OWw 6Viw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=VzbGHvSiySq50YMMXV5wIRss5YK1rFgm4/UGnmN70Bc=; b=GGeyM/6JCZsdbgDaoot/ZYSUkKMH4X+VMV9INKgAHpLCd4fdWFwq17Wx1NNXHhAFny dOP8QvTT0tcCoR7mRem48oHO7nKCWoecwgFW4zS6+/qkz5Q4Ek4MFRLqfCQXvvSay0dV OENxDb/oEKR+rr8G3J234gsN7GRYExdtnchnqpaqBFT48vvJnKNs4zIxjKQFEimBuYUx Nr/wQRDWaH/jmKR3p5pDw+/ZsTgxBn4PQp+S2le9q4WhoZ/Ck/FdvrJpx+txt67BtQ6l IIniGfW4Z59X6pNwZEGsup2JzW72y2Y7yfFxsYEP1MSSko5+UctmIbc9+xvAgrGDN5xE U4VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fAfaiSlH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id j3si449651pjw.14.2019.08.12.14.52.11; Mon, 12 Aug 2019 14:52:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fAfaiSlH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726632AbfHLVvY (ORCPT + 99 others); Mon, 12 Aug 2019 17:51:24 -0400 Received: from mail-pl1-f201.google.com ([209.85.214.201]:40684 "EHLO mail-pl1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727326AbfHLVvX (ORCPT ); Mon, 12 Aug 2019 17:51:23 -0400 Received: by mail-pl1-f201.google.com with SMTP id s13so6011087plp.7 for ; Mon, 12 Aug 2019 14:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=VzbGHvSiySq50YMMXV5wIRss5YK1rFgm4/UGnmN70Bc=; b=fAfaiSlH3IJrNJyZYLgYtoIVY8VZlqGfi5Z1XEd34Hclac8Tlt1XU022vSoo6lpHqW WT5ZYdOnF51c3AJ+HgQLgSxq1DFgNbpPZFxvoOpgOi8CLocNEf/zT6VX0F2CI56S+DGU emR9pGJLtKNGCGQGSx/vmN9VKkZcYZVXI6eXGk1DQEFDNeHCD/bdYD6Zet1y/2Gzi9uE yf/jN+kbTfyFtb4u9PsKcmr7JPvUHlj3Oa0vtajMh2hl9bXBiepZSxxAR7vIHlyXgTiy 3qSQ1ycRcwY27pQbPVEKnAVbB3qlQm8NnHi8Ju6BN+Yoi5wFlqrTPtF5AwdB6r/eozZn AJbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=VzbGHvSiySq50YMMXV5wIRss5YK1rFgm4/UGnmN70Bc=; b=Gbf3ux6UgSyCO2vJETA40hh6IMCtcmuA2KekA9B+8g07lrF1Y3bXRwcxn90JGYJqPQ X8dXCDjikRC2zFBcBjoj39IDiofQaFgG+GfsMKUb+8UlZqqejfemET0gzUxsjBmMpJWk i++7UQnAtkzbOpmd6ErsDTk0FFMA3kTl40cwAPRSquPIg+ua7urVi1gxpnKbkx69k1Qq lnymK/OjjGHVmWSPds/sIax+znQ05GGhR0i1J8CAJtI5yZcri9EM8ljN67hqCNq05hzh NLLFS3Vl8tEnN+Qt3OMPmyXj/NuOUQuo1KDKu9uYJAiFaHE4cLkHNCeAKeoaNND6KBmq FiWQ== X-Gm-Message-State: APjAAAWEXAJgb2NfdzSUPdYmCIBE8Z6c/7PnNQJ33Lct4GSnOMgGoPda aH2OrAEuOspYbsmIF0UOWkdMtGcFVpxeYIiCAhM= X-Received: by 2002:a63:2685:: with SMTP id m127mr31628780pgm.6.1565646682512; Mon, 12 Aug 2019 14:51:22 -0700 (PDT) Date: Mon, 12 Aug 2019 14:50:34 -0700 Message-Id: <20190812215052.71840-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog Subject: [PATCH 01/16] s390/boot: fix section name escaping From: Nick Desaulniers To: akpm@linux-foundation.org Cc: sedat.dilek@gmail.com, jpoimboe@redhat.com, yhs@fb.com, miguel.ojeda.sandonis@gmail.com, clang-built-linux@googlegroups.com, Nick Desaulniers , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Martin Schwidefsky , Gerald Schaefer , Philipp Rudo , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GCC unescapes escaped string section names while Clang does not. Because __section uses the `#` stringification operator for the section name, it doesn't need to be escaped. This antipattern was found with: $ grep -e __section\(\" -e __section__\(\" -r Reported-by: Sedat Dilek Suggested-by: Josh Poimboeuf Signed-off-by: Nick Desaulniers --- arch/s390/boot/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/boot/startup.c b/arch/s390/boot/startup.c index 7b0d05414618..26493c4ff04b 100644 --- a/arch/s390/boot/startup.c +++ b/arch/s390/boot/startup.c @@ -46,7 +46,7 @@ struct diag_ops __bootdata_preserved(diag_dma_ops) = { .diag0c = _diag0c_dma, .diag308_reset = _diag308_reset_dma }; -static struct diag210 _diag210_tmp_dma __section(".dma.data"); +static struct diag210 _diag210_tmp_dma __section(.dma.data); struct diag210 *__bootdata_preserved(__diag210_tmp_dma) = &_diag210_tmp_dma; void _swsusp_reset_dma(void); unsigned long __bootdata_preserved(__swsusp_reset_dma) = __pa(_swsusp_reset_dma); -- 2.23.0.rc1.153.gdeed80330f-goog