* [PATCH] r8152: add MODULE_VERSION
@ 2016-07-14 18:27 Grant Grundler
2016-07-15 21:25 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2016-07-14 18:27 UTC (permalink / raw)
To: David S . Miller, Hayes Wang
Cc: Peter Wu, netdev, linux-kernel, linux-usb, Grant Grundler
ethtool -i provides a driver version that is hard coded.
Export the same value via "modinfo".
Signed-off-by: Grant Grundler <grundler@chromium.org>
---
drivers/net/usb/r8152.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 0da72d3..1c01ed5 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -4359,3 +4359,4 @@ module_usb_driver(rtl8152_driver);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] r8152: add MODULE_VERSION
2016-07-14 18:27 [PATCH] r8152: add MODULE_VERSION Grant Grundler
@ 2016-07-15 21:25 ` David Miller
2016-07-15 21:33 ` Grant Grundler
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2016-07-15 21:25 UTC (permalink / raw)
To: grundler; +Cc: hayeswang, peter, netdev, linux-kernel, linux-usb
From: Grant Grundler <grundler@chromium.org>
Date: Thu, 14 Jul 2016 11:27:16 -0700
> ethtool -i provides a driver version that is hard coded.
> Export the same value via "modinfo".
>
> Signed-off-by: Grant Grundler <grundler@chromium.org>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] r8152: add MODULE_VERSION
2016-07-15 21:25 ` David Miller
@ 2016-07-15 21:33 ` Grant Grundler
0 siblings, 0 replies; 3+ messages in thread
From: Grant Grundler @ 2016-07-15 21:33 UTC (permalink / raw)
To: David Miller; +Cc: Grant Grundler, Hayes Wang, peter, netdev, LKML, linux-usb
On Fri, Jul 15, 2016 at 2:25 PM, David Miller <davem@davemloft.net> wrote:
> From: Grant Grundler <grundler@chromium.org>
> Date: Thu, 14 Jul 2016 11:27:16 -0700
>
>> ethtool -i provides a driver version that is hard coded.
>> Export the same value via "modinfo".
>>
>> Signed-off-by: Grant Grundler <grundler@chromium.org>
>
> Applied.
Excellent - thank you. :)
grant
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-15 21:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 18:27 [PATCH] r8152: add MODULE_VERSION Grant Grundler
2016-07-15 21:25 ` David Miller
2016-07-15 21:33 ` Grant Grundler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®