Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1963294imm; Fri, 7 Sep 2018 08:45:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYOIiQfUZKx3Sk6NCVOdyWW4B/V2jUseGXcecVjO0YRz0hMm7lIgsUjfCwpsrzSN86s4lS3 X-Received: by 2002:a63:1363:: with SMTP id 35-v6mr8865554pgt.202.1536335142732; Fri, 07 Sep 2018 08:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536335142; cv=none; d=google.com; s=arc-20160816; b=WzIfeeSJt4uyzxFka4PmWJ12hUBVBKXm4sZljRG31+8h+g9Y5n2vdekZDgQ0b7WGbU ALvh5fvDsgVwSUYAs7tat9BQDYeVvqdY9vqNGbrkfrdXX+vcswkMpz4Bzz8h47zkTDjo zycyUii1rPecmpM4OY9g4M5u0x2wLQ9GG+Y+/CpAc/ENgTvJkFONsAET5d2Yx1eR+70f LztbPqWv3N1dRHY2PWGnHgUu3fwI1f3lFjR7A7PSMl0ujSpuGQa8+f35dDQmoYLgtx/a SHZQmfYtqDjA2JsGIBQFcTJ6yvwKx1yLKPdIwEo3I53Oni6KMPzHbe3U078s8tqElzPz 3lJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SdbeMTeqlZmNsKx159xc2m6X9+kVkBKFc0LllqR7n5U=; b=UFnmlV9/JG+m7iOFvqitiANBTIiiyTMY0H4O4cIOZ72jCb+6oCGWXRhyotiOaVZ9cj I83D1Knn6YPPONiUR/WiP/2tugKa54uuyV2nFjcJvf9UjWP3Rm5HYd6fwSdP3qYXm00p P6oMocotvcV6QEqA5AIJlz6Hru6F4uLoK8pOAFBbleePtIa5Q8tGmC7OdVlo/vfF2PmI Ip3h5RO/hMwYKrec2EL1onJcqwhFnfUEcgufv/ZOzIdN8oPrR4ZdFI1dt6ar+csWZ2nI 30y2fzsLp/LpvWR4i/RTfWStcpYM1SjdJnY3tThkU4PTbVC0nHp400SYMz+6SIRpFkU8 fgXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PEi9fa+A; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t188-v6si8934916pfd.148.2018.09.07.08.45.27; Fri, 07 Sep 2018 08:45:42 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PEi9fa+A; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729622AbeIGSYD (ORCPT + 99 others); Fri, 7 Sep 2018 14:24:03 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42410 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729492AbeIGSYD (ORCPT ); Fri, 7 Sep 2018 14:24:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SdbeMTeqlZmNsKx159xc2m6X9+kVkBKFc0LllqR7n5U=; b=PEi9fa+ASbN39StLBUFgLqeSU 0A79phipz8dhf+0HJJfaN0rbwDPj0jRHs/Q4p1du6ewKdXmqmwyCjFvnVj7p7pf2CQa9F6vHt8I7V Q2B9Hb9HIjcTdNxpAbae1v6msRwu1GrQYtgY8pIp/mOv/QceQwtTefY+PmEa6Kio3HpBD/SNOsUwd AGw26d6E+kh2u784ea8u0yw9GBKHJFmrXZSuwDbUncju3ghKrhdwNj44uVPNfyuOF1gt9yU7LyIvW gifuaNGeEiLDjzuBh9pjV++dqiRbrbQ3uN3X50cXIBB9UO2u0AZjZ7NweSl7g0TYzGtYgLgU+AGs7 VBTLJVfOA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyH2C-00031T-1G; Fri, 07 Sep 2018 13:42:52 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6652B200C6B16; Fri, 7 Sep 2018 15:42:46 +0200 (CEST) Date: Fri, 7 Sep 2018 15:42:46 +0200 From: Peter Zijlstra To: Christophe Leroy Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] perf: enum overflow in uapi/linux/perf_event.h Message-ID: <20180907134246.GC24106@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 07, 2018 at 01:27:19PM +0000, Christophe Leroy wrote: > On PPC32, enums are 32 bits, so __PERF_SAMPLE_CALLCHAIN_EARLY is > out of scope. The following sparse warning is encountered: > > CHECK arch/powerpc/kernel/process.c > ./include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0) Urgh... what compiler is that? I've not seen anything like that from the build bots.