Re: [PATCH] lib/flex_array: make build optional

From: Dave Hansen
Date: Thu Nov 06 2014 - 16:45:00 EST


On 11/06/2014 01:33 PM, Dave Hansen wrote:
> On 11/06/2014 01:27 PM, Aristeu Rozanski wrote:
>> +config FLEX_ARRAY
>> + bool "Flexible array"
>> + default n
>> + help
>> + This option enables an implementation of flexible arrays which
>> + allows creating arrays of fixed size elements with an arbritrary
>> + size without requiring the single allocation of a contiguous area.
>> +
>> + See Documentation/flexible-arrays.txt
>
> Is there any reason to expose this to the user via Kconfig?
>
> No sane person would even turn it on if they don't need it.

IOW, I think you should just make it:

config FLEX_ARRAY
def_bool n

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/