Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710543

Re: [PATCH] powerpc: store the intended structure

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] powerpc: store the intended structure
Date 2017-08-13 16:50 +0200
Message-ID <ue2nf-8n0-11@gated-at.bofh.it> (permalink)
References <ue1AR-7S4-15@gated-at.bofh.it> <ue2dz-8jJ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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 previous platform_device structure, and
> > appears to be a copy-paste error.  Replace the value in the resource field
> > with the argument to the local call to ARRAY_SIZE.
>
> found by a script or eyeballs?

A script that was looking for something else.  But I wrote a script for
this specific issue and this was the only match.  I am currently checking
in a more general way.

julia

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc: store the intended structure Julia Lawall <Julia.Lawall@lip6.fr> - 2017-08-13 16:00 +0200
  Re: [PATCH] powerpc: store the intended structure Joe Perches <joe@perches.com> - 2017-08-13 16:40 +0200
    Re: [PATCH] powerpc: store the intended structure Julia Lawall <julia.lawall@lip6.fr> - 2017-08-13 16:50 +0200
  Re: [PATCH] powerpc: store the intended structure Michael Ellerman <mpe@ellerman.id.au> - 2017-08-15 13:20 +0200
  Re: powerpc: store the intended structure Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-08-16 14:40 +0200

csiph-web