Re: [PATCH] zd1211rw: Readd zd_addr_t cast

2007-02-10 Thread Ulrich Kunitz
On 07-02-10 10:51 Joe Perches wrote: > On Sat, 2007-02-10 at 07:02 +0100, Michael Buesch wrote: > > On Saturday 10 February 2007 02:27, Daniel Drake wrote: > > > Robert P.J. Day's recent commit ("getting rid of all casts of > > > k[cmz]alloc() > > > calls") introduced a sparse warning for zd1211r

Re: [PATCH] zd1211rw: Readd zd_addr_t cast

2007-02-10 Thread Joe Perches
On Sat, 2007-02-10 at 07:02 +0100, Michael Buesch wrote: > On Saturday 10 February 2007 02:27, Daniel Drake wrote: > > Robert P.J. Day's recent commit ("getting rid of all casts of k[cmz]alloc() > > calls") introduced a sparse warning for zd1211rw, related to our > > type-checking > > of addresses

Re: [PATCH] zd1211rw: Readd zd_addr_t cast

2007-02-09 Thread Ulrich Kunitz
On 07-02-10 07:02 Michael Buesch wrote: > On Saturday 10 February 2007 02:27, Daniel Drake wrote: > > Robert P.J. Day's recent commit ("getting rid of all casts of k[cmz]alloc() > > calls") introduced a sparse warning for zd1211rw, related to our > > type-checking > > of addresses. > > > > z

Re: [PATCH] zd1211rw: Readd zd_addr_t cast

2007-02-09 Thread Michael Buesch
On Saturday 10 February 2007 02:27, Daniel Drake wrote: > Robert P.J. Day's recent commit ("getting rid of all casts of k[cmz]alloc() > calls") introduced a sparse warning for zd1211rw, related to our type-checking > of addresses. > > zd_chip.c:116:15: warning: implicit cast to nocast type >

[PATCH] zd1211rw: Readd zd_addr_t cast

2007-02-09 Thread Daniel Drake
Robert P.J. Day's recent commit ("getting rid of all casts of k[cmz]alloc() calls") introduced a sparse warning for zd1211rw, related to our type-checking of addresses. zd_chip.c:116:15: warning: implicit cast to nocast type This patch readds the type cast, it is correct. Signed-off-by: