Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 833882b4 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] mwave: missing __user in ioctl struct declaration

parent 7877327d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ typedef struct _MW_ABILITIES {
typedef struct _MW_READWRITE {
	unsigned short usDspAddress;	/* The dsp address */
	unsigned long ulDataLength;	/* The size in bytes of the data or user buffer */
	void *pBuf;		/* Input:variable sized buffer */
	void __user *pBuf;		/* Input:variable sized buffer */
} MW_READWRITE, *pMW_READWRITE;

#define IOCTL_MW_RESET           _IO(MWAVE_MINOR,1)