projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kfifo API type safety
[cascardo/linux.git]
/
drivers
/
iio
/
industrialio-event.c
diff --git
a/drivers/iio/industrialio-event.c
b/drivers/iio/industrialio-event.c
index
dac15b9
..
c10eab6
100644
(file)
--- a/
drivers/iio/industrialio-event.c
+++ b/
drivers/iio/industrialio-event.c
@@
-56,7
+56,7
@@
int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp)
ev.id = ev_code;
ev.timestamp = timestamp;
- copied = kfifo_put(&ev_int->det_events,
&
ev);
+ copied = kfifo_put(&ev_int->det_events, ev);
if (copied != 0)
wake_up_locked_poll(&ev_int->wait, POLLIN);
}