diff mbox series

[v18,83/83] sg: bump version to 4.0.47

Message ID 20210427215733.417746-85-dgilbert@interlog.com (mailing list archive)
State Deferred
Headers show
Series sg: add v4 interface, request sharing | expand

Commit Message

Douglas Gilbert April 27, 2021, 9:57 p.m. UTC
Version is bumped to > 4.0.30 so test tools is sg3_utils (beta 1.45
revision 827 and later) can distinguish between this full
featured driver and a reduced featured version. The full featured
driver has request sharing and multiple requests (in a single
invocation) support. The reduced featured driver only adds sg v4
interface support and its version numbers
are >= 4.0.00 and < 4.0.30 .

Both versions of the sg v4 driver are described on this webpage:
    https://sg.danny.cz/sg/sg_v40.html

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
---
 drivers/scsi/sg.c      | 4 ++--
 include/uapi/scsi/sg.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index 5328befc0893..f10b252fc091 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -12,8 +12,8 @@ 
  *
  */
 
-static int sg_version_num = 40012;  /* [x]xyyzz where [x] empty when x=0 */
-#define SG_VERSION_STR "4.0.12"		/* [x]x.[y]y.zz */
+static int sg_version_num = 40047;  /* [x]xyyzz where [x] empty when x=0 */
+#define SG_VERSION_STR "4.0.47"		/* [x]x.[y]y.zz */
 static char *sg_version_date = "20210421";
 
 #include <linux/module.h>
diff --git a/include/uapi/scsi/sg.h b/include/uapi/scsi/sg.h
index 871073d1a8d3..22ed1e1ad91e 100644
--- a/include/uapi/scsi/sg.h
+++ b/include/uapi/scsi/sg.h
@@ -14,7 +14,7 @@ 
  * Later extensions (versions 2, 3 and 4) to driver:
  *   Copyright (C) 1998 - 2021 Douglas Gilbert
  *
- * Version 4.0.12 (20210111)
+ * Version 4.0.46 (20210111)
  *  This version is for Linux 4 and 5 series kernels.
  *
  * Documentation