Re: Main Linux kernel vs Ubuntu kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpxVSt4P4go5.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux