Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3659647ima; Mon, 4 Feb 2019 03:00:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ4MVd1eA09P2RytvPYE97B5RfDAhENiLtnVwtYx8F5VGbksokFnd3ddi+R3AonQTiDvJKs X-Received: by 2002:a63:ee4c:: with SMTP id n12mr12206975pgk.21.1549278033442; Mon, 04 Feb 2019 03:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549278033; cv=none; d=google.com; s=arc-20160816; b=g+dx44/yb+hM+kQzBp+2K7yVZfHax+YhjRtda+aodYXyrgUspFPO2Qcc1NqspL3iRd R7p5rpqhnGnY7J4mVXc8y3OPwfcyZgWakOYDim4PBTXWzkfOlGVe2vEBDhl04Tn3/ZkX zTPanHJS79Qv26HoDuvl4Cnft5xU8v/ywf+PcQUO2NYkW4XbMutBowTpec1VGnl7SYrx i5vQAuG2jUXj2yOMGYhULbYBZtewT8AuxNoYK+nX6ygBkSAQ3eWYj5pC9Gn0G3rBcFJC 5kWC0QTbI0lTK8uoO6uKv0om+eMXntu9DR8EP3XMYSpPo3zA/MHP4Vuwp0LOwAugM9Ww X8vA== 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 :content-language:mime-version:user-agent:date:message-id:to:subject :from; bh=Wd5VmYKYUkrzsGexzK2jasDU06wbsxnRSdJze2j1uRQ=; b=aU4UNxc5KMUzqZwoRmtAc9tOWmRNy/Bw/PlWcexfTz0NXnECYbPpn+w9Oeuz84MNdQ IJ0KMpKsuoP3KBqg35Xpy/rpe5KDH1kweYh+wwhasc5vGAec1VEuOe8s25QYE1bShOHx jJwc4vt4jTF8bVE236w2/XQqw9Oy+spwYj3uMt2Z/fRzQc7DWdQ+wl2b0rq4OfO2sx4h kRFJzaI/6GkH+H5XopC8eXukP31HAzpzrCWW5NQf2+IzKVTU0ZJGPDqt8N9dUpyoVFVi tcuVferj0iJxZ5uixulLqrJdYJtmrMSKbnakhRhR5ZDoLQmFczGxV4bAsKgmrpN6ukK9 bY3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i189si15997369pfg.265.2019.02.04.03.00.17; Mon, 04 Feb 2019 03:00:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732754AbfBDK72 (ORCPT + 99 others); Mon, 4 Feb 2019 05:59:28 -0500 Received: from mga06.intel.com ([134.134.136.31]:61284 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730650AbfBDK7Y (ORCPT ); Mon, 4 Feb 2019 05:59:24 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Feb 2019 02:59:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,560,1539673200"; d="scan'208";a="115106848" Received: from cvg-ubt08.iil.intel.com (HELO [143.185.152.136]) ([143.185.152.136]) by orsmga008.jf.intel.com with ESMTP; 04 Feb 2019 02:59:23 -0800 From: Vladimir Kondratiev Subject: RFC: striving for automotive grade certification To: linux-kernel@vger.kernel.org Message-ID: <613bd2e4-4c06-10ef-772d-5cc057728ecb@linux.intel.com> Date: Mon, 4 Feb 2019 12:59:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I am looking how can we get kernel certified for life critical applications, in particular for automotive industry. Mean drive train, not infotainment. To begin with, all certification processes are talking about cleaning compilation warnings at level higher then usual. Example would be unused parameter in function. This is what I want to start with. There are lots of warnings triggered in kernel compilation by -Wunused-parameter, it is perhaps most frequent warning at all. Technically it is not hard to fix all such warnings by adding __always_unused when needed. However this will produce huge patch touching lots of files for kind of nothing. So, before starting this effort, I want to consult: - is this (massive cleanup) right direction in general? - Any ideas better then marking __always_unused? - what to do in cases where parameter is unused depending on some pre-processor conditions? - is it better to do one huge patch or split into pieces? Thanks, Vladimir