lkml.org 
[lkml]   [2000]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.37 broke matroxfb
On Thu, 6 Jan 2000, Tuomas Heino wrote:

> Trying to compile 2.3.37 (w/ equal configuration to .36):
>
> matroxfb.c: In function `matrox_init':
> matroxfb.c:6023: invalid type argument of `->'
> matroxfb.c:6024: invalid type argument of `->'
> matroxfb.c:6019: warning: `svid' might be used uninitialized in this function
> matroxfb.c:6020: warning: `sid' might be used uninitialized in this function
>

Lines .36-.37 diff / lines 6023-6024:

- pci_read_config_word(pdev, PCI_SUBSYSTEM_VENDOR_ID,
&svid);
- pci_read_config_word(pdev, PCI_SUBSYSTEM_ID, &sid);
+ svid = dev->subsystem_vendor;
+ sid = dev->subsystem_device;

Is this just a case of pdev being typo'd as dev or something more complex?
I mean does the file need other changes (besides dev->pdev) to be actually usable?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.267 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site