Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp298586ybm; Thu, 28 May 2020 03:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC5UY+fjDpq0yfMGhHZ9tjzQOZXBoviIR7nA1pJI8cIS3I6o0jtNARZjJpwEJjkvEQ1P9L X-Received: by 2002:a05:6402:296:: with SMTP id l22mr2303286edv.353.1590660319095; Thu, 28 May 2020 03:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590660319; cv=none; d=google.com; s=arc-20160816; b=clX+xQ5TzWT7KIuNdpq2YZ4o10S20fGaq6joKO1TdV5xP7UCGFMmnFbr3FS07r8r8R CKxmY/aVAwr1RsUzsPkmkoqkUZmQJntQ+IQnRhhdmAwz6/VpdTNYwqxPkLcTIJ9ncwK/ 3Wsd06kVeaBmb12NE59xAbWsdDaLFDhPLDcCed1Tze1YwzEDK194A3duhzh0chqObtcl JBvvUJwFbVxF1DcuW2tWED8rNzrEm5o5Ja0LVHCmdsb9zzjg6bRrDt0EXdsLZsYJxWDu lGTUe8gQVbr8qwVV2iWNZB+A9JKRcymSCmB8tMqmk6N5q6iYXFSkv4prMx07JzD0J/GE LXHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=KgVAw7XbYpc7DHXxFYNUICQYEonzU2kq+ty3Jne/cjQ=; b=nz91aiu4JaD0t8tSlSDvVL2fsmv87fQFiE+smojoYZKrVlbPgTYOCvnx+Jq6rc4MYJ uHn8li7wCBG2tMIQrnnTWG597Jpss+0GSdOeptJpSf87J65FG0FKGrn/bpPk0cFFCC1t kKTIScIiMgiA0Ue/QXLmSbR0FaysO6PqYhkKNYPRGpSWcM5lmGPF7TEjr2UGwzMQoM77 gXweRgORZoKZkxvimr6f9L9WUiFf2VqIB5KL2JhXmyI629MDP/BH6xHSbsZr8g6M8I0e T6OpqDPWg3y3Yzz9acOZmtuP3/36wgEDOWODEdMks0dvR4XExQtvxGmM3Tz8M9IvRAsn X3fA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j21si3398183ejm.613.2020.05.28.03.04.56; Thu, 28 May 2020 03:05:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387647AbgE1KCx (ORCPT + 99 others); Thu, 28 May 2020 06:02:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387518AbgE1KCw (ORCPT ); Thu, 28 May 2020 06:02:52 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7427FC05BD1E; Thu, 28 May 2020 03:02:52 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jeFN9-0003YY-FQ; Thu, 28 May 2020 12:02:47 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id A0A5B1C0051; Thu, 28 May 2020 12:02:46 +0200 (CEST) Date: Thu, 28 May 2020 10:02:46 -0000 From: "tip-bot2 for Marco Elver" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/kcsan] compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse Cc: kbuild test robot , Marco Elver , Borislav Petkov , x86 , LKML In-Reply-To: <202005280727.lXn1VnTw%lkp@intel.com> References: <202005280727.lXn1VnTw%lkp@intel.com> MIME-Version: 1.0 Message-ID: <159066016649.17951.6690158443737654165.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/kcsan branch of tip: Commit-ID: f05e1242fbb2d149ceaa87310cf67d03fe007a25 Gitweb: https://git.kernel.org/tip/f05e1242fbb2d149ceaa87310cf67d03fe007a25 Author: Marco Elver AuthorDate: Thu, 28 May 2020 09:43:13 +02:00 Committer: Borislav Petkov CommitterDate: Thu, 28 May 2020 11:51:38 +02:00 compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse If the file is being checked with sparse, use the unoptimized version of __unqual_scalar_typeof(), since sparse does not support _Generic. Reported-by: kbuild test robot Signed-off-by: Marco Elver Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/202005280727.lXn1VnTw%lkp@intel.com --- include/linux/compiler_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index a529fa2..c1ee208 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -246,7 +246,7 @@ struct ftrace_likely_data { * __unqual_scalar_typeof(x) - Declare an unqualified scalar type, leaving * non-scalar types unchanged. */ -#if defined(CONFIG_CC_IS_GCC) && CONFIG_GCC_VERSION < 40900 +#if (defined(CONFIG_CC_IS_GCC) && CONFIG_GCC_VERSION < 40900) || defined(__CHECKER__) /* * We build this out of a couple of helper macros in a vain attempt to * help you keep your lunch down while reading it.