Re: [PATCH] switch_root: use typeof() instead of __SWORD_TYPE

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

 



On 29 Oct 2014 09:09, Natanael Copa wrote:
> +			    (stfs.f_type == (typeof(stfs.f_type))STATFS_RAMFS_MAGIC ||
> +			     stfs.f_type == (typeof(stfs.f_type))STATFS_TMPFS_MAGIC))

typeof is a gcc extension and really should be __typeof__.  ignoring irony of 
replacing on unportable behavior with another ;).
-mike

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux