Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1698582pxj; Wed, 19 May 2021 11:45:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp2IgyKDNAasfY6KdxO0jQlJsGSHfuSiolcIip1F+Rivxus3YFenWBBSckVshDU3IXXL5l X-Received: by 2002:a17:906:1701:: with SMTP id c1mr524013eje.425.1621449925028; Wed, 19 May 2021 11:45:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449925; cv=none; d=google.com; s=arc-20160816; b=Rt5HY7GFTmZWUN8Yr+kKGbrkEMX6TB7DYdQsCWAmyMFlTIFoRW6V3/FNsuhICwqajq quNQNU8dfS2y9DW+ovwrLEPPVmzrBQn4UqIAPv0KRE1eEb3SoAMfInosJ05p294YHpG3 mBeqS2azzxjFaBt5dtr7FlefIGZkVNrvLBHCQRvcW87xbPL2Q+f0j/68zH3EPYfUB2eb 8ge3O+Nq/4x4dfVc7/78mfr1bwLWpcr00cMH3TuZlocSHtZAhb8rWyA0cnFbrUCKvbmy zw8aIt2Am5EONg9Ii+eufJLBo1HlYIF2DIQ8/Evsmi9mlpOMinq8SG+NtiaDIcKUtIk4 qTHg== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=aLUI75Dpi4IC9OegSu4OzqJl6UaBUSAsSgBD8zulNCE=; b=a1SOjD6Tmp5saK6WyH4fRFJ64qT1n7i3LKFSk+lSbMcDrzIDxAbaDURrEw01xBMU6z GF5rRbN3IuYQFtnCNkGzZNKvxBqNJ+Z0pdQT4Kdn8JsLtZPpDwCOOYg6+mC5lvj8yJil R9HQqsX+zSV848PCOJ6uhGSWa3qKGLvcg7xA5AUEANuhic2cHs2UsxtioxMsoi4tUl0M +7adtkOZmpHz2BbxiCAFGSBV2YDMJcJn0bkp481uLGxMwn8E6y53GEBOkO809wu/Ra4G cfjaZpDczOxF8Teo4jSML5A3+fH56RymRHZla2YDkjKmFbEb/lSjE9riNmFZdnE7+K4U 083w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LB8tvo8I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw23si341756ejb.144.2021.05.19.11.45.01; Wed, 19 May 2021 11:45:25 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LB8tvo8I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238123AbhERXVc (ORCPT + 99 others); Tue, 18 May 2021 19:21:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:43756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237815AbhERXVb (ORCPT ); Tue, 18 May 2021 19:21:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EBB6061059; Tue, 18 May 2021 23:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621380013; bh=AwH0YVAxJ9zD68qS2yu5RNzH4jRt80k+k9fn6Ttgrpg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=LB8tvo8Ia7YYRkggSkKbiyiwcT5IzZT3u0KbNF3f48mvRZ6nTkiTHivR3AakfyI96 6iycw/ap0mYOyTzyZWLKjNdhrfwcIMC/3jRPsIbPfvIyfiHKU1OtMVgSy7rYjR95ro HS25yOVmL2wB+ytb1P/wfkHr+Gq+nN1XbQHaiU7Ka76dkje2t5uRAxYoB6qQKgTYsh aBi2ddR5ie1MoTzjmzgoc/5NGf1nLT3XeB+44sQxWp/sxh1SvUmuXBybPqyfuKwByD JwPV/4KEg3kGluKIllXgakHy94AtVKTB1JLtRKZWiGgIgQFbTw6+BhepwGvm1l57EU e/0iDDeGlw4eQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B862D5C013C; Tue, 18 May 2021 16:20:12 -0700 (PDT) Date: Tue, 18 May 2021 16:20:12 -0700 From: "Paul E. McKenney" To: Marco Elver Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Greg Kroah-Hartman , Dmitry Vyukov , kasan-dev , Linux Kernel Mailing List , clang-built-linux Subject: Re: [PATCH] kcsan: fix debugfs initcall return type Message-ID: <20210518232012.GA2976391@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20210514140015.2944744-1-arnd@kernel.org> <0ad11966-b286-395e-e9ca-e278de6ef872@kernel.org> <20210514193657.GM975577@paulmck-ThinkPad-P17-Gen-1> <534d9b03-6fb2-627a-399d-36e7127e19ff@kernel.org> <20210514201808.GO975577@paulmck-ThinkPad-P17-Gen-1> <20210515005550.GQ975577@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210515005550.GQ975577@paulmck-ThinkPad-P17-Gen-1> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 05:55:50PM -0700, Paul E. McKenney wrote: > On Sat, May 15, 2021 at 01:01:31AM +0200, Marco Elver wrote: > > On Fri, May 14, 2021 at 11:16PM +0200, Arnd Bergmann wrote: > > > On Fri, May 14, 2021 at 10:18 PM Paul E. McKenney wrote: > > > > On Fri, May 14, 2021 at 01:11:05PM -0700, Nathan Chancellor wrote: > > > > > > > > You can see my response to Marco here: > > > > > > > > > > https://lore.kernel.org/r/ad7fa126-f371-5a24-1d80-27fe8f655b05@kernel.org/ > > > > > > > > > > Maybe some improved wording might look like > > > > > > > > > > clang with CONFIG_LTO_CLANG points out that an initcall function should > > > > > return an 'int' due to the changes made to the initcall macros in commit > > > > > 3578ad11f3fb ("init: lto: fix PREL32 relocations"): > > > > > > > > OK, so the naive reading was correct, thank you! > > > > > > > > > ... > > > > > > > > > > Arnd, do you have any objections? > > > > > > > > In the meantime, here is what I have. Please let me know of any needed > > > > updates. > > > > > > > > > > Looks good to me, thanks for the improvements! > > > > FWIW, this prompted me to see if I can convince the compiler to complain > > in all configs. The below is what I came up with and will send once the > > fix here has landed. Need to check a few other config+arch combinations > > (allyesconfig with gcc on x86_64 is good). > > Cool! > > If I have not sent the pull request for Arnd's fix by Wednesday, please > remind me. Except that I was slow getting Miguel Ojeda's Reviewed-by applied. I need to wait for -next to incorporate this change (hopefully by tomorrow, Pacific Time), and then test this. With luck, I will send this Thursday, Pacific Time. Thanx, Paul