Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp74227ybj; Fri, 8 May 2020 06:51:39 -0700 (PDT) X-Google-Smtp-Source: APiQypJxvkL6OPFApki3PW0ppD16OeN23SJYQWj8WwlOvZcnMBRjlrYQiM7+gQBjpAn2pNnpmzIL X-Received: by 2002:a5d:50ce:: with SMTP id f14mr3241916wrt.251.1588945898980; Fri, 08 May 2020 06:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588945898; cv=none; d=google.com; s=arc-20160816; b=e8a5ck/NYVFPV2TCtYqHHvQI4oKU7FwXBPd5zSzcT/AIuP/itGAtvh7Zznj6dgVo7d vFlA//mOfXKGidzLHwWialCM+VlZiFHn7gVgHCDMaDBPCmXSYgk7zyb1cnwN5pfs2WkO N3ugH0wJb1kpxLZK/MtBeoC5lGxhHAK59CxaiyRexWXi3s6BFCpQOKnEW4DbpO5WsV8q 8nWcLOF5ia/Lx24Mtg5bggv4JSYHQeOQPPYh34MZZINcB2KAfDMny2qvRTl7jCk1WZ59 3zLIlg1Y005gYucHxpH0b4/Pd2riy8f5det7mqaJzC7rsDKBLh6UbbkNIPN7Orc8HajO +ZOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=IQuNvtry/AR6ceuNkW7KX49uT5oDsVjE0yyZJVH8vTc=; b=vblUBhGyiHyMTDPJcwiO0gsmrT9DnmP4yqdseg4QWHqhMF43EypehPolThP4lN6VW/ vOSbn+oLavDJG1PUjQcNkRbncbkj5cOoqELnuQu3cI1WzIJM9VXu/NErNYDLO3Pe0O4y qAmO2M1SqVtGe+nH1ckfMoT4KRNV1OMg3vaZS4H4kwqbeMX05aVzKG8uiWYLXBnSuFC1 CpimsC6SlCVcjjj8TdEUqxT9g5JL5ZGhdRH5/5MCceayZJLAC6k+MW61vkBtbuxViVja Z0/fC6ACQClSLZHSA2kxBSGQ5H85OV0CeNJfCLkQVUAWaaK4thlOJpvljZ/z5fJcqSPU b5ZA== 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 v13si1683691wro.260.2020.05.08.06.51.15; Fri, 08 May 2020 06:51:38 -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 S1727995AbgEHNtt (ORCPT + 99 others); Fri, 8 May 2020 09:49:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:32826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726904AbgEHNtt (ORCPT ); Fri, 8 May 2020 09:49:49 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F38320A8B; Fri, 8 May 2020 13:49:46 +0000 (UTC) Date: Fri, 8 May 2020 09:49:45 -0400 From: Steven Rostedt To: Andy Shevchenko Cc: Luis Chamberlain , jeyu@kernel.org, akpm@linux-foundation.org, arnd@arndb.de, mingo@redhat.com, aquini@redhat.com, cai@lca.pw, dyoung@redhat.com, bhe@redhat.com, peterz@infradead.org, tglx@linutronix.de, gpiccoli@canonical.com, pmladek@suse.com, tiwai@suse.de, schlad@suse.de, keescook@chromium.org, daniel.vetter@ffwll.ch, will@kernel.org, mchehab+samsung@kernel.org, kvalo@codeaurora.org, davem@davemloft.net, linux-kernel@vger.kernel.org Subject: Re: [RFC] taint: add module firmware crash taint support Message-ID: <20200508094923.2ab9014a@gandalf.local.home> In-Reply-To: <20200508101604.GF185537@smile.fi.intel.com> References: <20200508021438.4373-1-mcgrof@kernel.org> <20200508101604.GF185537@smile.fi.intel.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2020 13:16:04 +0300 Andy Shevchenko wrote: > > +++ b/include/trace/events/module.h > > @@ -26,7 +26,8 @@ struct module; > > { (1UL << TAINT_OOT_MODULE), "O" }, \ > > { (1UL << TAINT_FORCED_MODULE), "F" }, \ > > { (1UL << TAINT_CRAP), "C" }, \ > > - { (1UL << TAINT_UNSIGNED_MODULE), "E" }) > > + { (1UL << TAINT_UNSIGNED_MODULE), "E" }, \ > > + { (1UL << TAINT_FIRMWARE_CRASH), "Q" }) > > Perhaps split out the closing parenthesis to avoid changing additional line in > the future? I don't think that will make a difference, as the last line must not contain a comma. New updates will still add additional line changes just to insert a comma before adding a new flag. -- Steve > > > TRACE_EVENT(module_load,