sparse: add built-in byte swap identifiers

this patch stops sparse from complaining about them not being
defined:

include/uapi/linux/swab.h:60:16: error: undefined identifier '__builtin_bswap32'
include/uapi/linux/swab.h:60:33: error: not a function <noident>

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
sparse patch v2: add noclone as an ignored attribute

Add attribute "noclone" or "__noclone" or "__noclone__" as an
ignored attribute. Fixes this sparse warning:

arch/x86/kvm/vmx.c:6268:13: error: attribute '__noclone__': unknown attribute

Also add test case for 'noclone': validation/attr-noclone.c.
'make check' says for this test case:
     TEST     attribute noclone (attr-noclone.c)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Clean up some test case error.

The forward declare test is known to give warnings.
Just make it matching the error output.
Same for check_byte_count-ice.c

Signed-off-by: Christopher Li <sparse@chrisli.org>
Fix segfault cause by fucntion without ident.

This allow compile "drivers/usb/core/hub.c" without
sefault.

Signed-off-by: Christopher Li <sparse@chrisli.org>