[PATCH 3/5] staging: kpc2000: added designated initializers to two structs.

2019-05-15 Thread Jeremy Sowden
Fixed the following two sparse warnings by using designated initializers: drivers/staging/kpc2000/kpc2000/cell_probe.c:101:34: warning: Using plain integer as NULL pointer drivers/staging/kpc2000/kpc2000/cell_probe.c:364:34: warning: Using plain integer as NULL pointer Signed-off-by: Jeremy

Re: [PATCH 3/5] staging: kpc2000: added designated initializers to two structs.

2019-05-15 Thread Dan Carpenter
On Wed, May 15, 2019 at 11:34:52AM +0100, Jeremy Sowden wrote: > Fixed the following two sparse warnings by using designated > initializers: > > drivers/staging/kpc2000/kpc2000/cell_probe.c:101:34: warning: Using plain > integer as NULL pointer > drivers/staging/kpc2000/kpc2000/cell_probe.c:3

Re: [PATCH 3/5] staging: kpc2000: added designated initializers to two structs.

2019-05-15 Thread Dan Carpenter
On Wed, May 15, 2019 at 02:09:49PM +0300, Dan Carpenter wrote: > On Wed, May 15, 2019 at 11:34:52AM +0100, Jeremy Sowden wrote: > > Fixed the following two sparse warnings by using designated > > initializers: > > > > drivers/staging/kpc2000/kpc2000/cell_probe.c:101:34: warning: Using plain > >

Re: [PATCH 3/5] staging: kpc2000: added designated initializers to two structs.

2019-05-15 Thread Jeremy Sowden
On 2019-05-15, at 14:11:53 +0300, Dan Carpenter wrote: > On Wed, May 15, 2019 at 02:09:49PM +0300, Dan Carpenter wrote: > > On Wed, May 15, 2019 at 11:34:52AM +0100, Jeremy Sowden wrote: > > > diff --git a/drivers/staging/kpc2000/kpc2000/cell_probe.c > > > b/drivers/staging/kpc2000/kpc2000/cell_pro