aboutsummaryrefslogtreecommitdiffstats
path: root/0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-13 13:45:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-13 13:45:23 +0100
commit63cd2802e6c4d7ee878a9d24a5eecaf85b1e6123 (patch)
treef22ddee1e73453a8f5064a5861503afb91e43aac /0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch
parentb9e9bac675d9ce5322e3afe3b5793c1efc25f83d (diff)
downloadpatches-63cd2802e6c4d7ee878a9d24a5eecaf85b1e6123.tar.gz
add some and remove some that were merged
Diffstat (limited to '0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch')
-rw-r--r--0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch b/0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch
deleted file mode 100644
index a4cb06b03e955e..00000000000000
--- a/0004-net-usb-hso.c-remove-unneeded-DRIVER_LICENSE-define.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From ab4e89a53a84e124336e6d426e52a78f21c1043a Mon Sep 17 00:00:00 2001
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Date: Fri, 17 Nov 2017 15:06:32 +0100
-Subject: [PATCH 4/7] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define
-
-There is no need to #define the license of the driver, just put it in
-the MODULE_LICENSE() line directly as a text string.
-
-This allows tools that check that the module license matches the source
-code license to work properly, as there is no need to unwind the
-unneeded dereference.
-
-Cc: "David S. Miller" <davem@davemloft.net>
-Cc: Andreas Kemnade <andreas@kemnade.info>
-Cc: Johan Hovold <johan@kernel.org>
-Cc: linux-usb@vger.kernel.org
-Cc: netdev@vger.kernel.org
-Cc: linux-kernel@vger.kernel.org
-Reported-by: Philippe Ombredanne <pombredanne@nexb.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/usb/hso.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/net/usb/hso.c
-+++ b/drivers/net/usb/hso.c
-@@ -76,7 +76,6 @@
-
- #define MOD_AUTHOR "Option Wireless"
- #define MOD_DESCRIPTION "USB High Speed Option driver"
--#define MOD_LICENSE "GPL"
-
- #define HSO_MAX_NET_DEVICES 10
- #define HSO__MAX_MTU 2048
-@@ -3288,7 +3287,7 @@ module_exit(hso_exit);
-
- MODULE_AUTHOR(MOD_AUTHOR);
- MODULE_DESCRIPTION(MOD_DESCRIPTION);
--MODULE_LICENSE(MOD_LICENSE);
-+MODULE_LICENSE("GPL");
-
- /* change the debug level (eg: insmod hso.ko debug=0x04) */
- MODULE_PARM_DESC(debug, "debug level mask [0x01 | 0x02 | 0x04 | 0x08 | 0x10]");