From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbcBLWTk (ORCPT ); Fri, 12 Feb 2016 17:19:40 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:62505 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbcBLWTj (ORCPT ); Fri, 12 Feb 2016 17:19:39 -0500 From: Arnd Bergmann To: Steven Rostedt Cc: linux-arm-kernel@lists.infradead.org, Nicolas Pitre , Ingo Molnar , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH] branch tracer: fix freak link error Date: Fri, 12 Feb 2016 23:18:56 +0100 Message-ID: <2986179.BoCBGAiP5D@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160212171237.22d2d93e@gandalf.local.home> References: <1455312410-1058841-1-git-send-email-arnd@arndb.de> <6132207.AQ6oOdTfsj@wuerfel> <20160212171237.22d2d93e@gandalf.local.home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:RLbMI0UF96yPmt4ckVmiPyrqpkXTnHOpJOJ4tkDDdp9JPorn4Kz nXSfnuj84Dpp69rA5nN1QV/GB/9splB72ZZfcYL7gYEPHfXPMS0fTU05WCLYXil2OU9JuYp Rd3FCxgBTfHd0zMKR94Tzome2+SVx7/fS7e0xgV06X6/C7VBgdym1mEXNCPx0jmnaH2HhTf XYugLwnnjhiU5AmeXiVAQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:QxErcenhaTg=:tlPeHq1pbanU4VJaoA9wsy xBzI+XyYIQ+R39m35LIlLIJS2iriOHw9A9wnjcOFXseYn/2+qx99f+PE4gWcR0EfnQxOpfiuQ cn1sm9yuB1kEBgZAgSjDdagGnU1BhYMvJzfTKdfjSl0Nv9k/o7cy3xO06OSDoXB+f9+GvtF7u HlFCRwfK+hSjbZFUnttEY1o5tNfcwwTgedHcUJzhk5bKKcwbOivNy9o2n1w2X7VGmkrfEJ6x/ TgeX8kgDCZBj+Q2ziPkd0J10wpZU54Bi2rJQ0v7tWEsKW9euetAasCFdSPMPYsqxTEPF2NqED kly6yAZS4r3+iUBTbGpgFB7tRjwsCco2V++Qg34jxpFeI0yv64jh3J/93WI+gYA3chEWubkyp KMZquRYq4XLwZsTaV5muGf/iw3QFhhJlplUb2nFB7eaT3/NCXfg+ffWKSt63dsrcU1Vo4J5u9 eAubTqvxLiVV2UasMzCWhA1ZZocX63YTR3D+8easoXli1N7IRLMxidI9qYUV02bwz5AJDFx48 lQkiwonmcoDJ17tRH/fI1wknsc5p26KZ8kcgJXNUUyhrvuCQa8fk+VUzOAnfMjVHNVecjtebO j57H77ipYjDMXS7tAU3yIuInhweB51vOF6HhkQe0zJcx6QsLUwFjlqhJPMxNOWHVHAWi4/TDF ZwJ6K2v9nPDus3iClCYdyvohWoZa6zuUVFHMSOZNG/v1mgMM+foybXOpgSGOwXAS4UkfbRAAz DBm4eqtERA1aO57W Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 12 February 2016 17:12:37 Steven Rostedt wrote: > On Fri, 12 Feb 2016 22:52:10 +0100 > Arnd Bergmann wrote: > > > On Friday 12 February 2016 22:49:07 Arnd Bergmann wrote: > > > Now I have to check if it does anything to the spurious "maybe-uninitialized" > > > warnings that I saw creeping in with PROFILE_ALL_BRANCHES. My guess is > > > that it doesn't fix them (I submitted a patch to turn off those > > > warnings today when PROFILE_ALL_BRANCHES is set), but I'll try anyway. > > > > Ok, that was easy: they are all still there, so we still need to > > pass -Wno-maybe-uninitialized when using PROFILE_ALL_BRANCHES to > > avoid flooding the log with useless warnings. > > Yeah, those warnings were the reason I turned PROFILE_ALL_BRANCHES into > a tristate and not a boolean, otherwise a make allmodconfig or > allyesconfig would enable it and spam the compile with those warnings. > > I simply ignore them, so adding a way to turn them off when that is > enabled is probably a good idea. Ok. The series I sent today was titled "[PATCH 0/5] gcov fixes and maybe-uninitialized warnings", and I disable the warnings for both GCOV_PROFILE_ALL and PROFILE_ALL_BRANCHES there, along with CC_OPTIMIZE_FOR_SIZE and UBSAN_SANITIZE_ALL that already do that today. The patch series also makes sure that all four options are disabled in allmodconfig (today they are disabled because of CC_OPTIMIZE_FOR_SIZE) and the remaining warnings I get in both allmodconfig and randconfig are finally useful. Arnd