From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 863D1C00140 for ; Wed, 24 Aug 2022 03:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234239AbiHXDr2 (ORCPT ); Tue, 23 Aug 2022 23:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233776AbiHXDrY (ORCPT ); Tue, 23 Aug 2022 23:47:24 -0400 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B30886053 for ; Tue, 23 Aug 2022 20:47:24 -0700 (PDT) Received: by mail-pj1-f42.google.com with SMTP id s31-20020a17090a2f2200b001faaf9d92easo283675pjd.3 for ; Tue, 23 Aug 2022 20:47:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=YimQZ3+zjhwhK8qmt0aX04bMK8OSDEsi60+hPmJGTNs=; b=s26AtpuOX/IpPxy6Xbdo2IhzCBmsZqgz2XAf9nfIV/QlhC1HeeufIob9X+KhiznPBM /wUljfKqr5POJUPCqJl+Lbedb34T4L7TN93287ERFYYA1i/j3uQVk7WdMTtliESbO6cA dTGy6nBYAisvk28LKZMpaLUMHFA9M1SmR2keuvv7r+v5UfX66rw608ZrCo0nbxaIoR8i T4lhBPhXkmXduvGHEqTFWAw1oNERWLZPPXpeeCJo7tu/k0ontGSRqE1iTDcEOp7RPP/F +eAmS3+B/om3nRWjLLEs3Yf+OPnBVttLi8hatojPeXuGySY0lgdNmZIAKw2qu1AbGs+Q 95gQ== X-Gm-Message-State: ACgBeo1R62E7b8JytcjqGKcU6HIpYTwJ01dFq14lNWMS8ClAuZWi/42A goFZAqOp68XWe870sqnIzA8= X-Google-Smtp-Source: AA6agR7+84baZIvKm4BqmkALQ6RYs9Be/EvvOs36sZmAY7sojlvGg2vMV7NWTU66cKBnkJWQH1BrPQ== X-Received: by 2002:a17:902:dac7:b0:172:df5c:1e04 with SMTP id q7-20020a170902dac700b00172df5c1e04mr14903628plx.93.1661312843506; Tue, 23 Aug 2022 20:47:23 -0700 (PDT) Received: from [192.168.51.14] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id c15-20020a170903234f00b00172897952a0sm11366224plh.283.2022.08.23.20.47.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Aug 2022 20:47:22 -0700 (PDT) Message-ID: Date: Tue, 23 Aug 2022 20:47:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [for-linus][PATCH 01/10] tracing: Suppress sparse warnings triggered by is_signed_type() Content-Language: en-US To: Linus Torvalds Cc: Rasmus Villemoes , Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Christoph Hellwig , Luc Van Oostenryck , Jens Axboe References: <20220821000737.328590235@goodmis.org> <20220821000844.510643400@goodmis.org> <5700ac75-f6a9-877e-4011-9b314f12b5ab@acm.org> <02daa3d6-2847-d7e0-e23e-411076c6d4db@rasmusvillemoes.dk> <0163b361-14bf-7b4c-751a-14f1a004b1a9@acm.org> From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/23/22 19:11, Linus Torvalds wrote: > Side note: I think you could move this into '' and that would > > (a) make some conceptual sense (unlike "overflow.h" and "trace_events.h") > > and > > (b) mean it gets included automatically in both files. > > overflow.h already explicitly includes compiler.h, and trace_events.h > gets it from > > linux/ring_buffer.h -> linux/mm.h -> linux/bug.h -> asm/bug.h -> > linux/compiler.h > > (it goes other wats too, but those ones are through arch-specific asm > headers, so the above is the first non-arch-specific unconditional > chain I found. OK, I will look into moving the definition of is_signed_type() into compiler.h. Thanks, Bart.