Re: [PATCH] ISDN/capidrv: fix casting warning

2007-10-25 Thread Jeff Garzik
Karsten Keil wrote: On Thu, Oct 25, 2007 at 04:06:16AM -0400, Jeff Garzik wrote: drivers/isdn/capi/capidrv.c: In function 'if_sendbuf': drivers/isdn/capi/capidrv.c:1865: warning: cast from pointer to integer of different size We are passing a kernel pointer, skb->data, but the interface itself

Re: [PATCH] ISDN/capidrv: fix casting warning

2007-10-25 Thread Karsten Keil
On Thu, Oct 25, 2007 at 04:06:16AM -0400, Jeff Garzik wrote: > drivers/isdn/capi/capidrv.c: In function 'if_sendbuf': > drivers/isdn/capi/capidrv.c:1865: warning: cast from pointer to integer > of different size > > We are passing a kernel pointer, skb->data, but the interface itself is > limited

[PATCH] ISDN/capidrv: fix casting warning

2007-10-25 Thread Jeff Garzik
drivers/isdn/capi/capidrv.c: In function 'if_sendbuf': drivers/isdn/capi/capidrv.c:1865: warning: cast from pointer to integer of different size We are passing a kernel pointer, skb->data, but the interface itself is limited to 32 bits. A future changeset may want to mark this code 32-bit only, i