diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index 89fc8dc7bf38d0a48cf0c921112da303053787ce..ab9ff74818a4f320e4106a9f7bd8d03765ae2768 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h @@ -629,7 +629,7 @@ __kfifo_uint_must_check_helper( \ * writer, you don't need extra locking to use these macro. */ #define kfifo_to_user(fifo, to, len, copied) \ -__kfifo_uint_must_check_helper( \ +__kfifo_int_must_check_helper( \ ({ \ typeof((fifo) + 1) __tmp = (fifo); \ void __user *__to = (to); \