Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965118AbcJQL2E (ORCPT ); Mon, 17 Oct 2016 07:28:04 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:34897 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933351AbcJQL1w (ORCPT ); Mon, 17 Oct 2016 07:27:52 -0400 Subject: Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts To: Peter Zijlstra , Jiri Slaby References: <20161016151616.31451-1-vegard.nossum@oracle.com> <20161016151616.31451-2-vegard.nossum@oracle.com> <20161017083315.GA29322@worktop.vlan200.pylonone.local> <186f8242-3f8d-31cd-a8e8-9743bbc1c1fd@suse.cz> <20161017090930.GT3142@twins.programming.kicks-ass.net> Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Linus Torvalds , "Luis R . Rodriguez" , stable@vger.kernel.org, Ming Lei , Steven Rostedt From: Vegard Nossum Message-ID: <55e00c01-2da8-8d06-1d05-9ebf775736ec@oracle.com> Date: Mon, 17 Oct 2016 13:27:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20161017090930.GT3142@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 573 Lines: 14 On 10/17/2016 11:09 AM, Peter Zijlstra wrote: > On Mon, Oct 17, 2016 at 11:01:13AM +0200, Jiri Slaby wrote: >> On the top of that, it's incorrect C according to the standard. > > According to the standard non of the kernel has any chance in hell of > working, so don't pretend you care about that :-) I think that's a bit of a false dilemma. It's obviously true that kernel code does not conform to the standards, but that doesn't mean it's not something we should strive towards or care about in general. It helps static analysis tools, compiler diversity, etc. Vegard