We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fc62e commit d92dffeCopy full SHA for d92dffe
simrupt.c
@@ -38,7 +38,7 @@ static struct class *simrupt_class;
38
static struct cdev simrupt_cdev;
39
40
/* Data are stored into a kfifo buffer before passing them to the userspace */
41
-static struct kfifo rx_fifo;
+static DECLARE_KFIFO_PTR(rx_fifo, unsigned char);
42
43
/* NOTE: the usage of kfifo is safe (no need for extra locking), until there is
44
* only one concurrent reader and one concurrent writer. Writes are serialized
0 commit comments