gpiolib: cdev: include overflow.h
authorKent Gibson <warthog618@gmail.com>
Thu, 21 Dec 2023 01:20:37 +0000 (09:20 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 27 Dec 2023 14:43:40 +0000 (15:43 +0100)
struct_size() is used to calculate struct linereq size, so explicitly
include overflow.h.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-cdev.c

index 9155c54acc1e0aa5645b5d5a85c2ca71a7955f0b..942fe115b7265fb4c6c9c58b98fc3889bcc6217f 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/kfifo.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/overflow.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/poll.h>
 #include <linux/rbtree.h>