Skip to content

Commit

Permalink
isotp: bump version information and add Linux 5.10 mainline hint
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
  • Loading branch information
hartkopp committed Oct 14, 2020
1 parent 5b7b04b commit cee2887
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion net/can/isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
#include "compat.h"
#endif

#define CAN_ISOTP_VERSION "20200928"
#define CAN_ISOTP_VERSION "20201014 - out-of-tree"

MODULE_DESCRIPTION("PF_CAN isotp 15765-2:2016 protocol");
MODULE_LICENSE("Dual BSD/GPL");
Expand All @@ -88,6 +88,10 @@ MODULE_ALIAS("can-proto-6");
#error This modules needs hrtimers (available since Kernel 2.6.22)
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0)
#error No need to compile this out-of-tree driver! ISO-TP is part of Linux Mainline kernel since Linux 5.10.
#endif

#define DBG(fmt, args...) (printk( KERN_DEBUG "can-isotp: %s: " fmt, \
__func__, ##args))
#undef DBG
Expand Down

0 comments on commit cee2887

Please sign in to comment.