forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: remove obsolete version strings
As pointed out by Jakub Kicinski here: http://lore.kernel.org/r/20201009175751.5c54097f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com this patch removes the obsolete version information of the different CAN protocols and the AF_CAN core module. Signed-off-by: Oliver Hartkopp <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
- Loading branch information
1 parent
ac911bf
commit f726f3d
Showing
8 changed files
with
5 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,8 +81,6 @@ | |
(CAN_EFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG) : \ | ||
(CAN_SFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG)) | ||
|
||
#define CAN_BCM_VERSION "20170425" | ||
|
||
MODULE_DESCRIPTION("PF_CAN broadcast manager protocol"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
MODULE_AUTHOR("Oliver Hartkopp <[email protected]>"); | ||
|
@@ -1696,7 +1694,7 @@ static int __init bcm_module_init(void) | |
{ | ||
int err; | ||
|
||
pr_info("can: broadcast manager protocol (rev " CAN_BCM_VERSION " t)\n"); | ||
pr_info("can: broadcast manager protocol\n"); | ||
|
||
err = can_proto_register(&bcm_can_proto); | ||
if (err < 0) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,8 +72,6 @@ | |
#include <net/sock.h> | ||
#include <net/net_namespace.h> | ||
|
||
#define CAN_ISOTP_VERSION "20200928" | ||
|
||
MODULE_DESCRIPTION("PF_CAN isotp 15765-2:2016 protocol"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
MODULE_AUTHOR("Oliver Hartkopp <[email protected]>"); | ||
|
@@ -1408,7 +1406,7 @@ static __init int isotp_module_init(void) | |
{ | ||
int err; | ||
|
||
pr_info("can: isotp protocol (rev " CAN_ISOTP_VERSION ")\n"); | ||
pr_info("can: isotp protocol\n"); | ||
|
||
err = can_proto_register(&isotp_can_proto); | ||
if (err < 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,8 +55,6 @@ | |
#include <net/sock.h> | ||
#include <net/net_namespace.h> | ||
|
||
#define CAN_RAW_VERSION CAN_VERSION | ||
|
||
MODULE_DESCRIPTION("PF_CAN raw protocol"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
MODULE_AUTHOR("Urs Thuermann <[email protected]>"); | ||
|
@@ -885,7 +883,7 @@ static __init int raw_module_init(void) | |
{ | ||
int err; | ||
|
||
pr_info("can: raw protocol (rev " CAN_RAW_VERSION ")\n"); | ||
pr_info("can: raw protocol\n"); | ||
|
||
err = can_proto_register(&raw_can_proto); | ||
if (err < 0) | ||
|