[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170330103414.19972-1-tobias.regnery@gmail.com>
Date: Thu, 30 Mar 2017 12:34:14 +0200
From: Tobias Regnery <tobias.regnery@...il.com>
To: sfrench@...ba.org, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Tobias Regnery <tobias.regnery@...il.com>
Subject: [PATCH] CIFS: Fix build failure with smb2
I saw the following build error during a randconfig build:
fs/cifs/smb2ops.c: In function 'smb2_new_lease_key':
fs/cifs/smb2ops.c:1104:2: error: implicit declaration of function 'generate_random_uuid' [-Werror=implicit-function-declaration]
Explicit include the right header to fix this issue.
Signed-off-by: Tobias Regnery <tobias.regnery@...il.com>
---
This is against next-20170330
fs/cifs/smb2ops.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index c6d14cc44510..c1b70559496c 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -21,6 +21,7 @@
#include <linux/vfs.h>
#include <linux/falloc.h>
#include <linux/scatterlist.h>
+#include <linux/uuid.h>
#include <crypto/aead.h>
#include "cifsglob.h"
#include "smb2pdu.h"
--
2.11.0
Powered by blists - more mailing lists