Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1009214pxb; Wed, 6 Apr 2022 06:37:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrETUkP7+t0xH8TRf57mXZQ7xNBRggrSyJzPAxj3M/jMVn7Hni77rjpmKzKElXly8TBsOa X-Received: by 2002:a17:902:bf06:b0:156:af5b:e6c with SMTP id bi6-20020a170902bf0600b00156af5b0e6cmr8530200plb.147.1649252241162; Wed, 06 Apr 2022 06:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649252241; cv=none; d=google.com; s=arc-20160816; b=VDDuj1Cew8mB3aA7HB2gn4Tdu/Qo3IboCMBhFkLKdSjQ3TXnYieuuYFnozMcDxPAzn 5yVBCEdxFGXuLpjl4N0QI8Pr4cbhMsLqUwCLUw+0fGwYWLREgDW/Bpp0SxMWe/EH0Ao6 nf7Ju3637tHDzSlR/Ve8ZkBvFoh7VlYkCILd+2KNQKbX2T80mfnsgYpUySw0d8aC8kmD 4pJJsKHncjr/emQuEa1kIm88HZiInRSO+vQRdKZb9Zj1W7fqYaDrLrEJtpH3JXyQ+CZO EvLAGs/6t+t6c1v5ET0Qb5Hxp7JaaPCV4m5YCwkoRkZvWt3YH4zdHP07QPXCSM+fcQ3C Qayw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YwtUPcvJGfTPFgg2iCmuMJC0p4mv70/YI6fdCVV5sVs=; b=EQWMlcC7aLFIFM+2k+dLk2uujHqXJHR6MebFt5GCCg3BQ+R7xVYzQDwWjPpDInk96E xxL10CriqP0lpm/qbrcj+7EvEEx6iB53RWuWJFhN737Hwo9v2FEcGmI9hgeHcVaZxZ5u z4WraHREL+WTAZXoOgfj4IUCGH6Q8DLs/ODh8Draq9F5hnCl7fFXa0iaTOTB9WufiXQ0 +6JuqF22EUTELMq45btCCQJsvdn5Ldd3FtJd9bsqDuJOMLmdfMrAFPKOL0g2079g9ZcU MQtQ+WRmCAZfMtGwSiMoQRp7JT5tUF3Qsvqi65Oaf04pCJHy1vOu8VXZapuYWep5hxVP TOHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=egA9gG8K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s18-20020a63ff52000000b0038212d5c721si5404713pgk.542.2022.04.06.06.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:37:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=egA9gG8K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 567745E6138; Wed, 6 Apr 2022 04:21:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574662AbiDEXAc (ORCPT + 99 others); Tue, 5 Apr 2022 19:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384641AbiDEOSQ (ORCPT ); Tue, 5 Apr 2022 10:18:16 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46F1E5F8FC; Tue, 5 Apr 2022 06:04:31 -0700 (PDT) Received: from zn.tnic (p2e55dff8.dip0.t-ipconnect.de [46.85.223.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id EB73E1EC01D4; Tue, 5 Apr 2022 15:04:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649163866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=YwtUPcvJGfTPFgg2iCmuMJC0p4mv70/YI6fdCVV5sVs=; b=egA9gG8KXTlrF1PZHdT9hruffdqmp0d+l2Hd0Y3qQCyXegdk8RHmatVIqDTfEnESyqQ+6k 40I5FZrZenC59Eq3XE/5fRHBeSK0v/2TsQuG5b2kLbSj5fGdvJpHvAqCPDGoqvYiDw02CQ Mc5T6qpldWJjp5PKoXYf17UeQJ9mjMg= Date: Tue, 5 Apr 2022 15:04:27 +0200 From: Borislav Petkov To: Richard Biener Cc: Michael Matz , Peter Zijlstra , linux-toolchains@vger.kernel.org, lkml Subject: Re: older gccs and case labels producing integer constants Message-ID: References: <79p0n5po-1377-4q33-3599-6129o38p96p@fhfr.qr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <79p0n5po-1377-4q33-3599-6129o38p96p@fhfr.qr> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2022 at 02:53:18PM +0200, Richard Biener wrote: > Indeed. Simply cast vendor/product to (unsigned) in the USB_ID > macro to avoid arithmetic shifts. Yeah, Boris is going to turn on his editor and do patches... :-) Thx guys! -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette