Skip to content

Commit 1a5e8e3

Browse files
Jakub Kicinskidavem330
authored andcommitted
nfp: populate MODULE_VERSION
DKMS and similar out-of-tree module replacement services use module version to make sure the out-of-tree software is not older than the module shipped with the kernel. We use the kernel version in ethtool -i output, put it into MODULE_VERSION as well. Reported-by: Jan Gutter <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0d592e5 commit 1a5e8e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/netronome/nfp/nfp_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,3 +649,4 @@ MODULE_FIRMWARE("netronome/nic_AMDA0099-0001_2x25.nffw");
649649
MODULE_AUTHOR("Netronome Systems <[email protected]>");
650650
MODULE_LICENSE("GPL");
651651
MODULE_DESCRIPTION("The Netronome Flow Processor (NFP) driver.");
652+
MODULE_VERSION(UTS_RELEASE);

0 commit comments

Comments
 (0)