summaryrefslogtreecommitdiff
path: root/include/linux/uuid.h
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-28 10:53:01 +0200
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2020-08-29 09:29:32 +0200
commite5fc436f06eef54ef512ea55a9db8eb9f2e76959 (patch)
tree341428ddf26259238c7af79d5817929e0adb6151 /include/linux/uuid.h
parent5861af92ff2a2e002449191413c35f3ec5f721fe (diff)
sparse: use static inline for __chk_{user,io}_ptr()
__chk_user_ptr() & __chk_io_ptr() are dummy extern functions which only exist to enforce the typechecking of __user or __iomem pointers in macros when using sparse. This typechecking is done by inserting a call to these functions. But the presence of these calls can inhibit some simplifications and so influence the result of sparse's analysis of context/locking. Fix this by changing these calls into static inline calls with an empty body. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'include/linux/uuid.h')
0 files changed, 0 insertions, 0 deletions