[lkml]   [2001]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectSome warnings at tdfxfb.c

This is on kernel 2.4.5. It's look like a long time has passed since this
driver was modified. Haven't tested if works, but things like using char
*name in tdfxb_init without initializing needs some fix. Is enough to do a
kmalloc to get some free space?

gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -c -o tdfxfb.o
tdfxfb.c: In function `tdfxfb_init':
tdfxfb.c:1895: warning: `name' might be used uninitialized in this
tdfxfb.c: In function `tdfxfb_setcolreg':
tdfxfb.c:2215: warning: unused variable `rgbcol'
tdfxfb.c: At top level:
tdfxfb.c:1038: warning: `tdfx_cfb8_putc' defined but not used
tdfxfb.c:1067: warning: `tdfx_cfb8_putcs' defined but not used
tdfxfb.c:1097: warning: `tdfx_cfb8_clear' defined but not used

David Gómez

"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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