Main Linux kernel vs Ubuntu kernel

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Sun Jun 10 22:29:13 EDT 2018


On Sat, 09 Jun 2018 17:17:45 +0530, Subhashini Rao Beerisetty said:

> My question related to backward compatibility is: If an API’s signature
> changed from kernel version x.y.z onwards, does the mainline tree code uses
> the below mentioned logic?

> #if LINUX_VERSION_CODE >= KERNEL_VERSION(x,y,z)

No, because whenever an in-kernel API is changed, the person changing it
is responsible for fixing all the in-tree uses of the API.  You only see
the #ifdef above for out-of-tree drivers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180610/47f97914/attachment.sig>


More information about the Kernelnewbies mailing list