Warnings w/ v2.3.16

David Weinehall (tao@acc.umu.se)
Thu, 2 Sep 1999 15:23:00 +0200 (MET_DST)


When compiling v2.3.16 at least a few warnings showed. Some of them are
old acquaintances, such as the 8390 & scsi warnings, but the sched, irq &
init_task ones are new.

The new serialP thingie also seem to miss some #ifdef CONFIG_PCI's; the
kernel FLOODS my screen with warnings when compiling an MCA-kernel.

See below my sig.

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

/home/projects/mcalinux/mca/kernel/linux-2.3.16/include/linux/serialP.h:163:
warning: `struct pci_dev' declared inside parameter list
/home/projects/mcalinux/mca/kernel/linux-2.3.16/include/linux/serialP.h:163:
warning: its scope is only this definition or declaration,
/home/projects/mcalinux/mca/kernel/linux-2.3.16/include/linux/serialP.h:163:
warning: which is probably not what you want.

sched.c:124: warning: alignment of `aligned_data' is greater than maximum
object file alignment
8390.c: In function `NS8390_trigger_send':
8390.c:1092: warning: unused variable `ei_local'
scsi.c:185: warning: `scsi_unregister_device' declared `static' but never
defined
/home/projects/mcalinux/mca/kernel/linux-2.3.16/include/linux/blk.h:400:
warning: `do_sd' defined but not used
/home/projects/mcalinux/mca/kernel/linux-2.3.16/include/linux/blk.h:424:
warning: `do_sd_request' declared `static' but never defined
scsi.h:637: warning: `end_scsi_request' defined but not used
irq.c:78: warning: alignment of `irq_desc' is greater than maximum object
file alignment
init_task.c:33: warning: alignment of `init_tss' is greater than maximum
object file alignment

-
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/