Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
- drivers/scsi/sg.c | 31 +------------------------------
- 1 file changed, 1 insertion(+), 30 deletions(-)
+ drivers/scsi/sg.c | 32 ++------------------------------
+ 1 file changed, 2 insertions(+), 30 deletions(-)
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
-@@ -762,35 +762,6 @@ sg_new_write(Sg_fd *sfp, struct file *fi
+@@ -51,6 +51,7 @@ static int sg_version_num = 30536; /* 2
+ #include <linux/mutex.h>
+ #include <linux/atomic.h>
+ #include <linux/ratelimit.h>
++#include <linux/sizes.h>
+
+ #include "scsi.h"
+ #include <scsi/scsi_dbg.h>
+@@ -762,35 +763,6 @@ sg_new_write(Sg_fd *sfp, struct file *fi
return count;
}
static int
sg_common_write(Sg_fd * sfp, Sg_request * srp,
unsigned char *cmnd, int timeout, int blocking)
-@@ -811,7 +782,7 @@ sg_common_write(Sg_fd * sfp, Sg_request
+@@ -811,7 +783,7 @@ sg_common_write(Sg_fd * sfp, Sg_request
"sg_common_write: scsi opcode=0x%02x, cmd_size=%d\n",
(int) cmnd[0], (int) hp->cmd_len));