bin neu hier und hoffe ihr habt mehr Ahnung als ich in Sachen Kernelwarnings.
Ich habe mich nun endlich mal gewagt einen eigenen Kernel zu kompilieren und ein wenig über make menuconfig in die Settings reinzulesen. Mein Ziel einen Kernel 3.2.12-rt22 zu bauen ist mir auch gelungen. Bootet und funktioniert. Nun wollte ich aber wissen, was die Warnings beim kompilieren bedeuten. Da google mir nur bei trace.c weiterhilft dachte ich, dass ich mal nachfrage.
Wenn ich die Ausgabe der Kernelkompilierung nach warnings grepe, erhalte ich folgeden Zeilen:
- kernel/trace/trace.c:3669: warning: 'page2' may be used uninitialized in this function
fs/ecryptfs/miscdev.c:427: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
fs/nfs/nfs4proc.c:3583: warning: format '%ld' expects type 'long int', but argument 4 has type 'size_t'
fs/nfs/nfs4proc.c:3583: warning: format '%ld' expects type 'long int', but argument 6 has type 'size_t'
crypto/anubis.c:581: warning: 'inter' is used uninitialized in this function
drivers/edac/i82975x_edac.c:298: warning: integer constant is too large for 'unsigned long' type
drivers/mtd/devices/sst25l.c:381: warning: unused variable 'i'
drivers/net/ethernet/amd/nmclan_cs.c:628: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
drivers/net/tokenring/ibmtr_cs.c:195: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
drivers/rtc/rtc-m41t80.c:216: warning: 'm41t80_rtc_alarm_irq_enable' defined but not used
drivers/rtc/rtc-m41t80.c:238: warning: 'm41t80_rtc_set_alarm' defined but not used
drivers/rtc/rtc-m41t80.c:308: warning: 'm41t80_rtc_read_alarm' defined but not used
drivers/scsi/advansys.c:72:2: warning: #warning this driver is still not properly converted to the DMA API
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
drivers/scsi/lpfc/lpfc_scsi.c:1307: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1333: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1344: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1367: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1378: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1412: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_scsi.c:1434: warning: integer constant is too large for 'long' type
drivers/scsi/lpfc/lpfc_debugfs.c:3892: warning: integer constant is too large for 'long' type
drivers/scsi/mpt2sas/mpt2sas_scsih.c:5729: warning: unused variable 'event_data'
drivers/staging/vt6656/main_usb.c:2065: warning: the frame size of 1860 bytes is larger than 1024 bytes
drivers/staging/vt6656/iwctl.c:787: warning: the frame size of 1288 bytes is larger than 1024 bytes
drivers/staging/wlan-ng/prism2fw.c:1115: warning: the frame size of 4252 bytes is larger than 1024 bytes
drivers/staging/wlan-ng/prism2fw.c:793: warning: the frame size of 1076 bytes is larger than 1024 bytes
net/sunrpc/xprtrdma/verbs.c:1767: warning: the frame size of 1044 bytes is larger than 1024 bytes
Beste Grüße,
Sören