Search Linux Wireless

Re: [PATCH 08/14] staging: vt6656: 64 bit fixes : correct all type sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 13, 2012 at 09:30:18PM +0000, Malcolm Priestley wrote:
> On Tue, 2012-11-13 at 12:50 -0800, Greg KH wrote:
> > On Sun, Nov 11, 2012 at 03:41:25PM +0000, Malcolm Priestley wrote:
> > >  /****** Common pointer types ***********************************************/
> > >  
> > > -typedef unsigned long   ULONG_PTR;      // 32-bit
> > > -typedef unsigned long   DWORD_PTR;      // 32-bit
> > > +typedef u32 ULONG_PTR;
> > > +typedef u32 DWORD_PTR;
> > 
> > A pointer does not fit in u32 on all arches, only unsigned long works
> > here.
> > 
> Hi
> 
> The naming is misleading, they are not pointers.

Ah, but of course :)

> I have a upcoming patch to remove them.

Ok, that sounds good.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux