You are not logged in.

#1 2016-12-21 17:04:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

How to tell when a particular module has been mainlined in the kernel

Is there a nifty web URL or git command I can use to see which kernel version supplies a particular module?  In my case, I am wanting to see at which kernel version 'bridge' module was mainlined.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#2 2016-12-21 17:22:54

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: How to tell when a particular module has been mainlined in the kernel

Seems to have been added before the conversion of the kernel to git use:
https://git.kernel.org/cgit/linux/kerne … fc7321cac2

Offline

#3 2016-12-21 17:40:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: How to tell when a particular module has been mainlined in the kernel

So you just grepped for it in the Makefile?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#4 2016-12-21 18:24:21

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: How to tell when a particular module has been mainlined in the kernel

$ git log net/bridge/Makefile

This should contain the oldest commit id

$ git describe 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

This should give the most recent tag for that commit

Offline

Board footer

Powered by FluxBB