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, 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.

I have a upcoming patch to remove them.

Regards


Malcolm


--
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