projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccdaba
)
gpiolib: cdev: include overflow.h
author
Kent Gibson
<warthog618@gmail.com>
Thu, 21 Dec 2023 01:20:37 +0000
(09:20 +0800)
committer
Bartosz 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
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpiolib-cdev.c
b/drivers/gpio/gpiolib-cdev.c
index 9155c54acc1e0aa5645b5d5a85c2ca71a7955f0b..942fe115b7265fb4c6c9c58b98fc3889bcc6217f 100644
(file)
--- a/
drivers/gpio/gpiolib-cdev.c
+++ b/
drivers/gpio/gpiolib-cdev.c
@@
-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>