Subject: Re: linux-next: build failure after merge of the scsi-mkp tree

From: Sumit Saxena <[email-masked]>
Date: Wed, 27 Apr 2022 13:10:57 +0530

On Wed, Apr 27, 2022 at 9:08 AM Stephen Rothwell <[email-masked]> wrote:
>
> Hi all,
>
> After merging the scsi-mkp tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
Hi Stephen,

Could you please try if the below patch fixes this build failure:

>From a78f9deaab456948b123c39950dff6f85b13875a Mon Sep 17 00:00:00 2001
From: Sumit Saxena <[email-masked]>
Date: Wed, 27 Apr 2022 03:35:34 -0400
Subject: [PATCH] uapi: include <linux/types.h> header in scsi_bsg_mpi3mr.h

Signed-off-by: Sumit Saxena <[email-masked]>
---
 include/uapi/scsi/scsi_bsg_mpi3mr.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/scsi/scsi_bsg_mpi3mr.h
b/include/uapi/scsi/scsi_bsg_mpi3mr.h
index 46c33efcff19..a0ddad7d84f7 100644
--- a/include/uapi/scsi/scsi_bsg_mpi3mr.h
+++ b/include/uapi/scsi/scsi_bsg_mpi3mr.h
@@ -10,6 +10,8 @@
 #ifndef SCSI_BSG_MPI3MR_H_INCLUDED
 #define SCSI_BSG_MPI3MR_H_INCLUDED

+#include <linux/types.h>
+
 /* Definitions for BSG commands */
 #define MPI3MR_IOCTL_VERSION                   0x06

Thanks,
Sumit