Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933815AbdC3Khk (ORCPT ); Thu, 30 Mar 2017 06:37:40 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35042 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932877AbdC3Khg (ORCPT ); Thu, 30 Mar 2017 06:37:36 -0400 From: Tobias Regnery To: sfrench@samba.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tobias Regnery Subject: [PATCH] CIFS: Fix build failure with smb2 Date: Thu, 30 Mar 2017 12:34:14 +0200 Message-Id: <20170330103414.19972-1-tobias.regnery@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 28 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 --- 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 #include #include +#include #include #include "cifsglob.h" #include "smb2pdu.h" -- 2.11.0