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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 BB09BC5DF60 for ; Thu, 7 Nov 2019 12:23:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F0A82166E for ; Thu, 7 Nov 2019 12:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388157AbfKGMXQ (ORCPT ); Thu, 7 Nov 2019 07:23:16 -0500 Received: from hetzy.fluff.org ([88.198.11.153]:46264 "EHLO hetzy.fluff.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727385AbfKGMXP (ORCPT ); Thu, 7 Nov 2019 07:23:15 -0500 X-Greylist: delayed 1382 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Nov 2019 07:23:15 EST Received: from ben by hetzy.fluff.org with local (Exim 4.89) (envelope-from ) id 1iSgSA-0004Xt-TZ; Thu, 07 Nov 2019 11:59:54 +0000 Date: Thu, 7 Nov 2019 11:59:54 +0000 From: Ben Dooks To: Mark Brown Cc: Linus Walleij , Robin Murphy , Naresh Kamboju , Catalin Marinas , Will Deacon , Linux ARM , Stephen Rothwell , Arnd Bergmann , open list , lkft-triage@lists.linaro.org, John Stultz , Linux-Next Mailing List Subject: Re: Linux-next-20191106 : arm64: Internal error: Oops: 96000007 Message-ID: <20191107115954.7sfjflcxwejcolpb@hetzy.fluff.org> References: <20191106161705.GA11849@sirena.co.uk> <20191107114553.GA6159@sirena.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191107114553.GA6159@sirena.co.uk> X-Disclaimer: These are my views alone. X-URL: http://www.fluff.org/ User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@fluff.org X-SA-Exim-Scanned: No (on hetzy.fluff.org); SAEximRunCond expanded to false Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Thu, Nov 07, 2019 at 11:45:53AM +0000, Mark Brown wrote: > On Thu, Nov 07, 2019 at 09:00:25AM +0100, Linus Walleij wrote: > > > I wonder if it's worth to look at the static checkers like checkpatch > > to warn for this? > > I noticed this due to the warning emitted in the build process so I'm > not sure there'd be much more chance that people would notice (though > admittedly the warning during the build doesn't suggest a boot problem). > There's hundreds of other examples in the tree that don't trigger > crashes for whatever reason, I think this one was just noticable because > it got built in. Is it worth hving a attribute for 'can't be initdata' to add to sparse to catch things like this. Not sure if checkpatch would be able to do the sort of full level of catch for this. -- Ben Dooks, ben@fluff.org, http://www.fluff.org/ben/ Large Hadron Colada: A large Pina Colada that makes the universe disappear.