Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp653749ybt; Fri, 19 Jun 2020 10:16:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6d3og5TGDsM56LApL1AVcA9fBJXda4bQcP7I9ofLv+xPhyDWM/JHUT6n1Q9YaMc1M/MON X-Received: by 2002:a17:906:c150:: with SMTP id dp16mr4492654ejc.536.1592586961361; Fri, 19 Jun 2020 10:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592586961; cv=none; d=google.com; s=arc-20160816; b=FjAP/8U1C7jQHoBzp1GICAPw3KRuhkFxRu6MbvM5H6aF2pkNjxK1Gn1EZo4rBJs2Rb 8lW3rmjwZT1JTI9DTfl6Yi+5wTdLeimIL2ifzPk14twRG2Kv/5SmD8JOToKRVtaBVvMy 4SIZMzUZWF2i66lcAEk/trZSfG4Wt3i+5QjJmv+OewqsbJYHGYSdY+2dmNptuYZZ79DV EHoplAexPWNhrMWks/Ig99BOYuhXwc0aMhSiGyv60IUegX3IZNZ1OYjLUiJg5TGWDNnd B77EgmNgQA4qAcsohbmRjtM2YXm+iPzF3pvBqbm8OjsuSB5KrfbVifJlMYOyBDf6n6An zsyA== 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; bh=38ME4VQ32mlkbgwRVVeN9eIuGrYaXAfOMuOn+N/JRNU=; b=WIXfR7HClcIwon6xGb3tK5hbAgFUZMSBg6029aayNdB4k3m0WJH7qwyddjMLd6T+17 MwqUNCwZ++hJ+o53lqSMX86aNm/NH9WXR5sr840rpgPLmNl8jpdRj/5HQQYvO6nj9GFY DC6wmVfob07X3vE4p4HrNygULqOBiTa5PN8mtOzU9XayxUEQ74fz7sDiUaK1ALrAypwK MJLvKDoKXGrgzkGjf/JAN/CW7OAoaMopc1LJfK7ZdBIUmnaQzz4eYH/HYJKTOd5FwWru snh29JZr7TzXUbKj4eykfw4l5QppfWbvrm+NWrzspQilIRyinl0HZk+b5rwNWYE3D6VN 5bZg== 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 p9si4324454ejm.658.2020.06.19.10.15.39; Fri, 19 Jun 2020 10:16:01 -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 S1731993AbgFSJb6 (ORCPT + 99 others); Fri, 19 Jun 2020 05:31:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:60452 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731672AbgFSJbU (ORCPT ); Fri, 19 Jun 2020 05:31:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7D51B020; Fri, 19 Jun 2020 09:31:15 +0000 (UTC) Date: Fri, 19 Jun 2020 11:31:14 +0200 From: Petr Mladek To: Herbert Xu Cc: Sergey Senozhatsky , Steven Rostedt , Linux Kernel Mailing List , Peter Zijlstra , Ingo Molnar , Will Deacon , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: Re: [v3 PATCH 2/2] printk: Make linux/printk.h self-contained Message-ID: <20200619093114.GJ3617@alley> References: <20200617071524.GA3055@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2020-06-17 17:17:21, Herbert Xu wrote: > As it stands if you include printk.h by itself it will fail to > compile because it requires definitions from ratelimit.h. However, > simply including ratelimit.h from printk.h does not work due to > inclusion loops involving sched.h and kernel.h. > > This patch solves this by moving bits from ratelimit.h into a new > header file which can then be included by printk.h without any > worries about header loops. > > The build bot then revealed some intriguing failures arising out > of this patch. On s390 there is an inclusion loop with asm/bug.h > and linux/kernel.h that triggers a compile failure, because kernel.h > will cause asm-generic/bug.h to be included before s390's own > asm/bug.h has finished processing. This has been fixed by not > including kernel.h in arch/s390/include/asm/bug.h. > > Signed-off-by: Herbert Xu > Reviewed-by: Andy Shevchenko > Reviewed-by: Sergey Senozhatsky > Acked-by: Petr Mladek > Acked-by: Steven Rostedt (VMware) JFYI, the patch has been committed into printk/linux.git, branch for-5.9. Best Regards, Petr