[kbuild:int-ll64 2/4] include/uapi/linux/byteorder/big_endian.h:44:52: error: unknown type name '__u64'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git int-ll64
head:   8325dcf749738c8c9d59c20a152f3ea9a7fe83b7
commit: 0b03fb786010babb910f5be220fd3bacd97f96c5 [2/4] types: move u{8,16,32,64} and s{8,16,32,64} defines to <linux/types.h>
config: sh-rsk7269_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0b03fb786010babb910f5be220fd3bacd97f96c5
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All error/warnings (new ones prefixed by >>):

   include/uapi/linux/swab.h: In function '__swahw32p':
   include/uapi/linux/swab.h:142:25: error: '__u32' undeclared (first use in this function); did you mean 'u32'?
     (__builtin_constant_p((__u32)(x)) ? \
                            ^
   include/uapi/linux/swab.h:207:9: note: in expansion of macro '__swahw32'
     return __swahw32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:34:24: error: expected ')' before numeric constant
     (((__u32)(x) & (__u32)0x0000ffffUL) << 16) |  \
                           ^
   include/uapi/linux/swab.h:143:2: note: in expansion of macro '___constant_swahw32'
     ___constant_swahw32(x) :  \
     ^~~~~~~~~~~~~~~~~~~
   include/uapi/linux/swab.h:207:9: note: in expansion of macro '__swahw32'
     return __swahw32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:35:24: error: expected ')' before numeric constant
     (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
                           ^
   include/uapi/linux/swab.h:143:2: note: in expansion of macro '___constant_swahw32'
     ___constant_swahw32(x) :  \
     ^~~~~~~~~~~~~~~~~~~
   include/uapi/linux/swab.h:207:9: note: in expansion of macro '__swahw32'
     return __swahw32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:144:2: error: implicit declaration of function '__fswahw32'; did you mean '__swahw32'? [-Werror=implicit-function-declaration]
     __fswahw32(x))
     ^
   include/uapi/linux/swab.h:207:9: note: in expansion of macro '__swahw32'
     return __swahw32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h: At top level:
   include/uapi/linux/swab.h:217:15: error: unknown type name '__u32'
    static inline __u32 __swahb32p(const __u32 *p)
                  ^~~~~
   include/uapi/linux/swab.h:217:38: error: unknown type name '__u32'
    static inline __u32 __swahb32p(const __u32 *p)
                                         ^~~~~
   include/uapi/linux/swab.h: In function '__swahb32p':
   include/uapi/linux/swab.h:153:25: error: '__u32' undeclared (first use in this function); did you mean 'u32'?
     (__builtin_constant_p((__u32)(x)) ? \
                            ^
   include/uapi/linux/swab.h:222:9: note: in expansion of macro '__swahb32'
     return __swahb32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:38:24: error: expected ')' before numeric constant
     (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) |  \
                           ^
   include/uapi/linux/swab.h:154:2: note: in expansion of macro '___constant_swahb32'
     ___constant_swahb32(x) :  \
     ^~~~~~~~~~~~~~~~~~~
   include/uapi/linux/swab.h:222:9: note: in expansion of macro '__swahb32'
     return __swahb32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:39:24: error: expected ')' before numeric constant
     (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
                           ^
   include/uapi/linux/swab.h:154:2: note: in expansion of macro '___constant_swahb32'
     ___constant_swahb32(x) :  \
     ^~~~~~~~~~~~~~~~~~~
   include/uapi/linux/swab.h:222:9: note: in expansion of macro '__swahb32'
     return __swahb32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h:155:2: error: implicit declaration of function '__fswahb32'; did you mean '__swahb32'? [-Werror=implicit-function-declaration]
     __fswahb32(x))
     ^
   include/uapi/linux/swab.h:222:9: note: in expansion of macro '__swahb32'
     return __swahb32(*p);
            ^~~~~~~~~
   include/uapi/linux/swab.h: At top level:
   include/uapi/linux/swab.h:230:30: error: unknown type name '__u16'; did you mean 'u16'?
    static inline void __swab16s(__u16 *p)
                                 ^~~~~
                                 u16
   include/uapi/linux/swab.h:242:39: error: unknown type name '__u32'; did you mean 'u32'?
    static __always_inline void __swab32s(__u32 *p)
                                          ^~~~~
                                          u32
   include/uapi/linux/swab.h:255:39: error: unknown type name '__u64'; did you mean 'u64'?
    static __always_inline void __swab64s(__u64 *p)
                                          ^~~~~
                                          u64
   include/uapi/linux/swab.h:270:31: error: unknown type name '__u32'; did you mean 'u32'?
    static inline void __swahw32s(__u32 *p)
                                  ^~~~~
                                  u32
   include/uapi/linux/swab.h:285:31: error: unknown type name '__u32'; did you mean 'u32'?
    static inline void __swahb32s(__u32 *p)
                                  ^~~~~
                                  u32
   In file included from include/linux/byteorder/big_endian.h:5:0,
                    from arch/sh/include/uapi/asm/byteorder.h:8,
                    from arch/sh/include/asm/bitops.h:12,
                    from include/linux/bitops.h:38,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:18,
                    from arch/sh/include/asm/bug.h:112,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
>> include/uapi/linux/byteorder/big_endian.h:44:52: error: unknown type name '__u64'
    static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:48:24: error: unknown type name '__u64'
    static __always_inline __u64 __le64_to_cpup(const __le64 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__le64_to_cpup':
>> include/uapi/linux/byteorder/big_endian.h:50:20: error: '__u64' undeclared (first use in this function); did you mean 'u64'?
     return __swab64p((__u64 *)p);
                       ^~~~~
                       u64
>> include/uapi/linux/byteorder/big_endian.h:50:27: error: expected expression before ')' token
     return __swab64p((__u64 *)p);
                              ^
   include/uapi/linux/byteorder/big_endian.h: At top level:
>> include/uapi/linux/byteorder/big_endian.h:52:52: error: unknown type name '__u32'
    static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:56:24: error: unknown type name '__u32'
    static __always_inline __u32 __le32_to_cpup(const __le32 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__le32_to_cpup':
>> include/uapi/linux/byteorder/big_endian.h:58:20: error: '__u32' undeclared (first use in this function); did you mean 'u32'?
     return __swab32p((__u32 *)p);
                       ^~~~~
                       u32
   include/uapi/linux/byteorder/big_endian.h:58:27: error: expected expression before ')' token
     return __swab32p((__u32 *)p);
                              ^
   include/uapi/linux/byteorder/big_endian.h: At top level:
>> include/uapi/linux/byteorder/big_endian.h:60:52: error: unknown type name '__u16'
    static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:64:24: error: unknown type name '__u16'
    static __always_inline __u16 __le16_to_cpup(const __le16 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__le16_to_cpup':
>> include/uapi/linux/byteorder/big_endian.h:66:20: error: '__u16' undeclared (first use in this function); did you mean 'u16'?
     return __swab16p((__u16 *)p);
                       ^~~~~
                       u16
   include/uapi/linux/byteorder/big_endian.h:66:27: error: expected expression before ')' token
     return __swab16p((__u16 *)p);
                              ^
   include/uapi/linux/byteorder/big_endian.h: At top level:
   include/uapi/linux/byteorder/big_endian.h:68:52: error: unknown type name '__u64'
    static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:72:24: error: unknown type name '__u64'
    static __always_inline __u64 __be64_to_cpup(const __be64 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__be64_to_cpup':
   include/uapi/linux/byteorder/big_endian.h:74:18: error: '__u64' undeclared (first use in this function); did you mean 'u64'?
     return (__force __u64)*p;
                     ^~~~~
                     u64
   include/uapi/linux/byteorder/big_endian.h: At top level:
   include/uapi/linux/byteorder/big_endian.h:76:52: error: unknown type name '__u32'
    static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:80:24: error: unknown type name '__u32'
    static __always_inline __u32 __be32_to_cpup(const __be32 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__be32_to_cpup':
   include/uapi/linux/byteorder/big_endian.h:82:18: error: '__u32' undeclared (first use in this function); did you mean 'u32'?
     return (__force __u32)*p;
                     ^~~~~
                     u32
   include/uapi/linux/byteorder/big_endian.h: At top level:
   include/uapi/linux/byteorder/big_endian.h:84:52: error: unknown type name '__u16'
    static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
                                                       ^~~~~
   include/uapi/linux/byteorder/big_endian.h:88:24: error: unknown type name '__u16'
    static __always_inline __u16 __be16_to_cpup(const __be16 *p)
                           ^~~~~
   include/uapi/linux/byteorder/big_endian.h: In function '__be16_to_cpup':
   include/uapi/linux/byteorder/big_endian.h:90:18: error: '__u16' undeclared (first use in this function); did you mean 'u16'?
     return (__force __u16)*p;
                     ^~~~~
                     u16
   In file included from include/linux/swab.h:5:0,
                    from include/uapi/linux/byteorder/big_endian.h:13,
                    from include/linux/byteorder/big_endian.h:5,
                    from arch/sh/include/uapi/asm/byteorder.h:8,
                    from arch/sh/include/asm/bitops.h:12,
                    from include/linux/bitops.h:38,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:18,
                    from arch/sh/include/asm/bug.h:112,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/byteorder/generic.h: In function 'le16_add_cpu':
   include/uapi/linux/swab.h:104:25: error: '__u16' undeclared (first use in this function); did you mean 'u16'?
     (__builtin_constant_p((__u16)(x)) ? \
                            ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:9: note: in expansion of macro 'cpu_to_le16'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
            ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:14:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
                           ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:15:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
                           ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:104:32: note: in definition of macro '__swab16'
     (__builtin_constant_p((__u16)(x)) ? \
                                   ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:14:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:14:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:14:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
                           ^
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:14:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:15:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
                           ^
   include/uapi/linux/swab.h:14:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:14:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:14:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
                           ^
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:9: note: in expansion of macro 'cpu_to_le16'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
            ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:14:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0x00ffU) << 8) |   \
                           ^
   include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:15:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
                           ^
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16'
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
               ^
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~
   include/uapi/linux/swab.h:15:24: error: expected ')' before numeric constant
     (((__u16)(x) & (__u16)0xff00U) >> 8)))
                           ^
   include/uapi/linux/swab.h:105:2: note: in expansion of macro '___constant_swab16'
     ___constant_swab16(x) :   \
     ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:35:43: note: in expansion of macro '__swab16'
    #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
                                              ^~~~~~~~
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:9: note: in expansion of macro 'cpu_to_le16'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
            ^~~~~~~~~~~
>> include/uapi/linux/byteorder/big_endian.h:36:51: error: expected expression before '__le16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                                                      ^
   include/uapi/linux/swab.h:106:12: note: in definition of macro '__swab16'
     __fswab16(x))
               ^
   include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__cpu_to_le16'
    #define cpu_to_le16 __cpu_to_le16
                        ^~~~~~~~~~~~~
   include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16'
    #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
                             ^~~~~~~~
   include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu'
    #define le16_to_cpu __le16_to_cpu
                        ^~~~~~~~~~~~~
   include/linux/byteorder/generic.h:146:21: note: in expansion of macro 'le16_to_cpu'
     *var = cpu_to_le16(le16_to_cpu(*var) + val);
                        ^~~~~~~~~~~

vim +/__u64 +44 include/uapi/linux/byteorder/big_endian.h

5921e6f8 David Howells  2012-10-13   14  
5921e6f8 David Howells  2012-10-13   15  #define __constant_htonl(x) ((__force __be32)(__u32)(x))
5921e6f8 David Howells  2012-10-13   16  #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
5921e6f8 David Howells  2012-10-13   17  #define __constant_htons(x) ((__force __be16)(__u16)(x))
5921e6f8 David Howells  2012-10-13   18  #define __constant_ntohs(x) ((__force __u16)(__be16)(x))
5921e6f8 David Howells  2012-10-13   19  #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
5921e6f8 David Howells  2012-10-13   20  #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
5921e6f8 David Howells  2012-10-13   21  #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
5921e6f8 David Howells  2012-10-13   22  #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x))
5921e6f8 David Howells  2012-10-13   23  #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x)))
5921e6f8 David Howells  2012-10-13   24  #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x))
5921e6f8 David Howells  2012-10-13   25  #define __constant_cpu_to_be64(x) ((__force __be64)(__u64)(x))
5921e6f8 David Howells  2012-10-13   26  #define __constant_be64_to_cpu(x) ((__force __u64)(__be64)(x))
5921e6f8 David Howells  2012-10-13   27  #define __constant_cpu_to_be32(x) ((__force __be32)(__u32)(x))
5921e6f8 David Howells  2012-10-13   28  #define __constant_be32_to_cpu(x) ((__force __u32)(__be32)(x))
5921e6f8 David Howells  2012-10-13   29  #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x))
5921e6f8 David Howells  2012-10-13   30  #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x))
5921e6f8 David Howells  2012-10-13  @31  #define __cpu_to_le64(x) ((__force __le64)__swab64((x)))
5921e6f8 David Howells  2012-10-13  @32  #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x))
5921e6f8 David Howells  2012-10-13  @33  #define __cpu_to_le32(x) ((__force __le32)__swab32((x)))
5921e6f8 David Howells  2012-10-13  @34  #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
5921e6f8 David Howells  2012-10-13  @35  #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
5921e6f8 David Howells  2012-10-13  @36  #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
5921e6f8 David Howells  2012-10-13  @37  #define __cpu_to_be64(x) ((__force __be64)(__u64)(x))
5921e6f8 David Howells  2012-10-13  @38  #define __be64_to_cpu(x) ((__force __u64)(__be64)(x))
5921e6f8 David Howells  2012-10-13  @39  #define __cpu_to_be32(x) ((__force __be32)(__u32)(x))
5921e6f8 David Howells  2012-10-13  @40  #define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
5921e6f8 David Howells  2012-10-13  @41  #define __cpu_to_be16(x) ((__force __be16)(__u16)(x))
5921e6f8 David Howells  2012-10-13  @42  #define __be16_to_cpu(x) ((__force __u16)(__be16)(x))
5921e6f8 David Howells  2012-10-13   43  
bc27fb68 Denys Vlasenko 2016-03-17  @44  static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
5921e6f8 David Howells  2012-10-13   45  {
5921e6f8 David Howells  2012-10-13   46  	return (__force __le64)__swab64p(p);
5921e6f8 David Howells  2012-10-13   47  }
bc27fb68 Denys Vlasenko 2016-03-17  @48  static __always_inline __u64 __le64_to_cpup(const __le64 *p)
5921e6f8 David Howells  2012-10-13   49  {
5921e6f8 David Howells  2012-10-13  @50  	return __swab64p((__u64 *)p);
5921e6f8 David Howells  2012-10-13   51  }
bc27fb68 Denys Vlasenko 2016-03-17  @52  static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
5921e6f8 David Howells  2012-10-13   53  {
5921e6f8 David Howells  2012-10-13   54  	return (__force __le32)__swab32p(p);
5921e6f8 David Howells  2012-10-13   55  }
bc27fb68 Denys Vlasenko 2016-03-17   56  static __always_inline __u32 __le32_to_cpup(const __le32 *p)
5921e6f8 David Howells  2012-10-13   57  {
5921e6f8 David Howells  2012-10-13  @58  	return __swab32p((__u32 *)p);
5921e6f8 David Howells  2012-10-13   59  }
bc27fb68 Denys Vlasenko 2016-03-17  @60  static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
5921e6f8 David Howells  2012-10-13   61  {
5921e6f8 David Howells  2012-10-13   62  	return (__force __le16)__swab16p(p);
5921e6f8 David Howells  2012-10-13   63  }
bc27fb68 Denys Vlasenko 2016-03-17   64  static __always_inline __u16 __le16_to_cpup(const __le16 *p)
5921e6f8 David Howells  2012-10-13   65  {
5921e6f8 David Howells  2012-10-13  @66  	return __swab16p((__u16 *)p);
5921e6f8 David Howells  2012-10-13   67  }
bc27fb68 Denys Vlasenko 2016-03-17   68  static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
5921e6f8 David Howells  2012-10-13   69  {
5921e6f8 David Howells  2012-10-13   70  	return (__force __be64)*p;
5921e6f8 David Howells  2012-10-13   71  }
bc27fb68 Denys Vlasenko 2016-03-17   72  static __always_inline __u64 __be64_to_cpup(const __be64 *p)
5921e6f8 David Howells  2012-10-13   73  {
5921e6f8 David Howells  2012-10-13   74  	return (__force __u64)*p;
5921e6f8 David Howells  2012-10-13   75  }
bc27fb68 Denys Vlasenko 2016-03-17   76  static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
5921e6f8 David Howells  2012-10-13   77  {
5921e6f8 David Howells  2012-10-13   78  	return (__force __be32)*p;
5921e6f8 David Howells  2012-10-13   79  }
bc27fb68 Denys Vlasenko 2016-03-17   80  static __always_inline __u32 __be32_to_cpup(const __be32 *p)
5921e6f8 David Howells  2012-10-13   81  {
5921e6f8 David Howells  2012-10-13   82  	return (__force __u32)*p;
5921e6f8 David Howells  2012-10-13   83  }
bc27fb68 Denys Vlasenko 2016-03-17   84  static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
5921e6f8 David Howells  2012-10-13   85  {
5921e6f8 David Howells  2012-10-13   86  	return (__force __be16)*p;
5921e6f8 David Howells  2012-10-13   87  }
bc27fb68 Denys Vlasenko 2016-03-17   88  static __always_inline __u16 __be16_to_cpup(const __be16 *p)
5921e6f8 David Howells  2012-10-13   89  {
5921e6f8 David Howells  2012-10-13   90  	return (__force __u16)*p;
5921e6f8 David Howells  2012-10-13   91  }
5921e6f8 David Howells  2012-10-13   92  #define __cpu_to_le64s(x) __swab64s((x))
5921e6f8 David Howells  2012-10-13   93  #define __le64_to_cpus(x) __swab64s((x))
5921e6f8 David Howells  2012-10-13   94  #define __cpu_to_le32s(x) __swab32s((x))
5921e6f8 David Howells  2012-10-13  @95  #define __le32_to_cpus(x) __swab32s((x))
5921e6f8 David Howells  2012-10-13   96  #define __cpu_to_le16s(x) __swab16s((x))
5921e6f8 David Howells  2012-10-13   97  #define __le16_to_cpus(x) __swab16s((x))
5921e6f8 David Howells  2012-10-13   98  #define __cpu_to_be64s(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13   99  #define __be64_to_cpus(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13  100  #define __cpu_to_be32s(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13  101  #define __be32_to_cpus(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13  102  #define __cpu_to_be16s(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13  103  #define __be16_to_cpus(x) do { (void)(x); } while (0)
5921e6f8 David Howells  2012-10-13  104  
5921e6f8 David Howells  2012-10-13  105  

:::::: The code at line 44 was first introduced by commit
:::::: bc27fb68aaad44dd8f5c34924f05721f0abaeec1 include/uapi/linux/byteorder, swab: force inlining of some byteswap operations

:::::: TO: Denys Vlasenko <dvlasenk@xxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux