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 X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 733CFC4338F for ; Sat, 14 Aug 2021 00:29:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BB89610FA for ; Sat, 14 Aug 2021 00:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235776AbhHNA3g (ORCPT ); Fri, 13 Aug 2021 20:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235746AbhHNA3g (ORCPT ); Fri, 13 Aug 2021 20:29:36 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E7F2C061756; Fri, 13 Aug 2021 17:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=3ytcuNKrUYyEpzQAg5Vbs9xRcoKj59oPLdwRg+fuDi4=; b=E0m7L18VxLNdUox/pvclOZthc5 XGy0reRyYCopsPI/QKNIR4hUlZzx9JYo0PgMFNGywBvcXdHH2LHblDot87fYyP9+fr9QFEjFF4426 0Q7S1v9NTAfQQ4GEHLRISnZkGN6Dv2AAFFeCndIeZSMZBSvyNavpFtCDXYYYcR016grO4VMG1H8lY NRDtjXp+lNw8hzZkY6nMDzzlWWFWngcoZJcASDcmmyL5oA7msQaToKYH0diL160YmxjwceVhAN1Yl LUHaeKndk1uG19QgqWnO936LO7GnGNTYCBP8s1jToLMZV7eSmOrAPnQVtDRoHvd2pZT6yW86brl6U k5ZC/Luw==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEhXu-00DiKV-9s; Sat, 14 Aug 2021 00:29:06 +0000 Subject: Re: [PATCH] Makefile: use -Wno-main in the full kernel tree To: Linus Torvalds Cc: Linux Kernel Mailing List , Steven Rostedt , Daniel Bristot de Oliveira , Masahiro Yamada , Michal Marek , Linux Kbuild mailing list References: <20210813224131.25803-1-rdunlap@infradead.org> From: Randy Dunlap Message-ID: <71efee23-92fd-2d19-47cb-ece2e50f0bc8@infradead.org> Date: Fri, 13 Aug 2021 17:29:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org On 8/13/21 5:01 PM, Linus Torvalds wrote: > On Fri, Aug 13, 2021 at 12:41 PM Randy Dunlap wrote: >> >> Build-tested on most ARCHes. > > How about old versions of gcc? Or clang? > > From a quick google, it seems like '-Wmain' means something else for > clang. But it is probably ok. Dunno. Let's just let it ride in linux-next for a bit to see what it hits.