Mathieu Malaterre writes:
> On Thu, Mar 1, 2018 at 3:55 AM, Michael Ellerman wrote:
>> Mathieu Malaterre writes:
>>
>>> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
>>> array feature_properties is defined as an empty array, which in turn
>>> triggers the following
On Thu, Mar 1, 2018 at 3:55 AM, Michael Ellerman wrote:
> Mathieu Malaterre writes:
>
>> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
>> array feature_properties is defined as an empty array, which in turn
>> triggers the following warning (treated as error on W=1):
Mathieu Malaterre writes:
> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
> array feature_properties is defined as an empty array, which in turn
> triggers the following warning (treated as error on W=1):
>
> CC arch/powerpc/kernel/prom.o
> arch/powerpc/kernel
On Tue, Feb 27, 2018 at 10:42 PM, Segher Boessenkool
wrote:
> On Tue, Feb 27, 2018 at 05:52:06PM +0200, Andy Shevchenko wrote:
>> On Tue, Feb 27, 2018 at 9:44 AM, Mathieu Malaterre wrote:
>> > On Tue, Feb 27, 2018 at 8:33 AM, Christophe LEROY
>> > wrote:
>>
>> > Much simpler is just add
>> >
On Tue, Feb 27, 2018 at 05:52:06PM +0200, Andy Shevchenko wrote:
> On Tue, Feb 27, 2018 at 9:44 AM, Mathieu Malaterre wrote:
> > On Tue, Feb 27, 2018 at 8:33 AM, Christophe LEROY
> > wrote:
>
> > Much simpler is just add
> >
> > if (ARRAY_SIZE() == 0)
> > return;
>
> >> Or add
On Tue, Feb 27, 2018 at 4:52 PM, Andy Shevchenko
wrote:
> On Tue, Feb 27, 2018 at 9:44 AM, Mathieu Malaterre wrote:
>> On Tue, Feb 27, 2018 at 8:33 AM, Christophe LEROY
>> wrote:
>
>> Much simpler is just add
>>
>> if (ARRAY_SIZE() == 0)
>> return;
>
>>> Or add in front:
>>> if
On Tue, Feb 27, 2018 at 9:44 AM, Mathieu Malaterre wrote:
> On Tue, Feb 27, 2018 at 8:33 AM, Christophe LEROY
> wrote:
> Much simpler is just add
>
> if (ARRAY_SIZE() == 0)
> return;
>> Or add in front:
>> if (!ARRAY_SIZE(feature_properties))
>> return;
>
> (not tested
On Tue, Feb 27, 2018 at 8:33 AM, Christophe LEROY
wrote:
>
>
> Le 27/02/2018 à 08:25, Mathieu Malaterre a écrit :
>>
>> On Mon, Feb 26, 2018 at 3:45 PM, Andy Shevchenko
>> wrote:
>>>
>>> On Mon, Feb 26, 2018 at 4:44 PM, Andy Shevchenko
>>> wrote:
On Sun, Feb 25, 2018 at 7:22 PM, Mathie
Le 27/02/2018 à 08:25, Mathieu Malaterre a écrit :
On Mon, Feb 26, 2018 at 3:45 PM, Andy Shevchenko
wrote:
On Mon, Feb 26, 2018 at 4:44 PM, Andy Shevchenko
wrote:
On Sun, Feb 25, 2018 at 7:22 PM, Mathieu Malaterre wrote:
static void __init check_cpu_feature_properties(unsigned long no
On Mon, Feb 26, 2018 at 3:45 PM, Andy Shevchenko
wrote:
> On Mon, Feb 26, 2018 at 4:44 PM, Andy Shevchenko
> wrote:
>> On Sun, Feb 25, 2018 at 7:22 PM, Mathieu Malaterre wrote:
>
>>> static void __init check_cpu_feature_properties(unsigned long node)
>>> {
>>> - unsigned long i;
>>>
On Mon, Feb 26, 2018 at 4:44 PM, Andy Shevchenko
wrote:
> On Sun, Feb 25, 2018 at 7:22 PM, Mathieu Malaterre wrote:
>> static void __init check_cpu_feature_properties(unsigned long node)
>> {
>> - unsigned long i;
>> struct feature_property *fp = feature_properties;
>> co
On Sun, Feb 25, 2018 at 7:22 PM, Mathieu Malaterre wrote:
> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
> array feature_properties is defined as an empty array, which in turn
> triggers the following warning (treated as error on W=1):
>
> CC arch/powerpc/kern
Hi!
On Sun, Feb 25, 2018 at 06:22:16PM +0100, Mathieu Malaterre wrote:
> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
> array feature_properties is defined as an empty array, which in turn
> triggers the following warning (treated as error on W=1):
> - for (i =
When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the
array feature_properties is defined as an empty array, which in turn
triggers the following warning (treated as error on W=1):
CC arch/powerpc/kernel/prom.o
arch/powerpc/kernel/prom.c: In function ‘check_cpu_feature
14 matches
Mail list logo