Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#163 X DRM source LINUX_VERSION_CODE wrong

closed-fixed
Rik Faith
5
2000-08-12
2000-07-28
Anonymous
No

Not really a bug, and soon to be obsolete, but I thought I should tell you:

static struct file_operations mga_fops = {
#if LINUX_VERSION_CODE >= 0x020322
/* This started being used approx. 2.3.34 */
owner: THIS_MODULE,
#endif

The LINUX_VERSION_CODE for my 2.3.51 kernel is 0x020333 but it does not have the "owner" in its file_operations struct. Compilation fails. But if I change the above to 0x020334 it all compiles without errors!

Bengt Sjolen
Stockholm

Discussion

  • Rik Faith
    Rik Faith
    2000-08-12

    Fixed in trunk and in 2.4.0-test6.
    The correct version number is 0x020400, since this appeared
    in the 2.4.0-test series.

     
  • Rik Faith
    Rik Faith
    2000-08-12

    • assigned_to: nobody --> faith
    • labels: 100100 --> Core Kernel
    • status: open --> closed-fixed