Re: powerpc: store the intended structure

2017-08-16 Thread Michael Ellerman
On Sun, 2017-08-13 at 13:24:23 UTC, Julia Lawall wrote: > Normally the values in the resource field and the argument to ARRAY_SIZE > in the num_resources are the same. In this case, the value in the reousrce > field is the same as the one in the previous platform_device structure, and > appears to

Re: [PATCH] powerpc: store the intended structure

2017-08-15 Thread Michael Ellerman
Julia Lawall writes: > Normally the values in the resource field and the argument to ARRAY_SIZE > in the num_resources are the same. In this case, the value in the reousrce > field is the same as the one in the previous platform_device structure, and > appears to be a copy-paste error. Replace

Re: [PATCH] powerpc: store the intended structure

2017-08-13 Thread Julia Lawall
On Sun, 13 Aug 2017, Joe Perches wrote: > On Sun, 2017-08-13 at 15:24 +0200, Julia Lawall wrote: > > Normally the values in the resource field and the argument to ARRAY_SIZE > > in the num_resources are the same. In this case, the value in the reousrce > > field is the same as the one in the pr

Re: [PATCH] powerpc: store the intended structure

2017-08-13 Thread Joe Perches
On Sun, 2017-08-13 at 15:24 +0200, Julia Lawall wrote: > Normally the values in the resource field and the argument to ARRAY_SIZE > in the num_resources are the same. In this case, the value in the reousrce > field is the same as the one in the previous platform_device structure, and > appears to

[PATCH] powerpc: store the intended structure

2017-08-13 Thread Julia Lawall
Normally the values in the resource field and the argument to ARRAY_SIZE in the num_resources are the same. In this case, the value in the reousrce field is the same as the one in the previous platform_device structure, and appears to be a copy-paste error. Replace the value in the resource field