Commit 77ff9cbc authored by Linus Torvalds's avatar Linus Torvalds

sparse: add "__force" type attribute for forcing a cast.

parent 4a5391e7
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
# define __user __attribute__((noderef, address_space(1))) # define __user __attribute__((noderef, address_space(1)))
# define __kernel /* default address space */ # define __kernel /* default address space */
# define __safe __attribute__((safe)) # define __safe __attribute__((safe))
# define __force __attribute__((force))
#else #else
# define __user # define __user
# define __kernel # define __kernel
# define __safe # define __safe
# define __force
#endif #endif
#ifdef __KERNEL__ #ifdef __KERNEL__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment