编译Linux内核3.0系统出现的警告信息(2)

drivers/isdn/hardware/mISDN/hfcpci.c: 在函数‘hfcpci_softirq’中:
drivers/isdn/hardware/mISDN/hfcpci.c:2318:2: 警告:忽略声明有 warn_unused_result 属性的‘driver_for_each_device’的返回值 [-Wunused-result]
===============================================================================
  CC [M]  drivers/media/dvb/dvb-core/dvb_ca_en50221.o
In file included from /home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess.h:570:0,
                from include/linux/poll.h:14,
                from drivers/media/dvb/dvb-core/dvbdev.h:27,
                from drivers/media/dvb/dvb-core/dvb_ca_en50221.h:27,
                from drivers/media/dvb/dvb-core/dvb_ca_en50221.c:41:
在函数‘copy_from_user’中,
    内联自‘dvb_ca_en50221_io_write’于 drivers/media/dvb/dvb-core/dvb_ca_en50221.c:1314:26:
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess_32.h:211:26: 警告:调用‘copy_from_user_overflow’,声明有警告属性:copy_from_user() buffer size is not provably correct [默认启用]


==================================================================
drivers/media/common/tuners/max2165.c: 在函数‘max2165_set_rf’中:
drivers/media/common/tuners/max2165.c:203:11: 警告:此函数中的‘fraction’在使用前可能未初始化 [-Wuninitialized]
drivers/media/common/tuners/max2165.c:205:19: 警告:此函数中的‘quotient’在使用前可能未初始化 [-Wuninitialized]
=======================================================================================================

==================================================================================================================
drivers/isdn/sc/init.c: 在函数‘identify_board’中:
drivers/isdn/sc/init.c:487:2: 警告:传递‘readl’的第 1 个参数时将整数赋给指针,未作类型转换 [默认启用]
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/io.h:57:1: 附注:需要类型‘const volatile void *’,但实参的类型为‘long unsigned int’
drivers/isdn/sc/init.c:497:2: 警告:传递‘readl’的第 1 个参数时将整数赋给指针,未作类型转换 [默认启用]
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/io.h:57:1: 附注:需要类型‘const volatile void *’,但实参的类型为‘long unsigned int’
drivers/isdn/sc/init.c:507:2: 警告:传递‘readl’的第 1 个参数时将整数赋给指针,未作类型转换 [默认启用]
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/io.h:57:1: 附注:需要类型‘const volatile void *’,但实参的类型为‘long unsigned int’
=============================================================================================================================
drivers/isdn/icn/icn.c: 在函数‘icn_sendbuf’中:
drivers/isdn/icn/icn.c:721:4: 警告:#warning TODO test headroom or use skb->nb to flag ACK [-Wcpp]
In file included from /home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess.h:570:0,
                from include/net/checksum.h:25,
                from include/linux/skbuff.h:28,
                from include/linux/isdnif.h:57,
                from drivers/isdn/icn/icn.h:51,
                from drivers/isdn/icn/icn.c:12:
在函数‘copy_from_user’中,
    内联自‘icn_writecmd’于 drivers/isdn/icn/icn.c:1048:22:
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess_32.h:211:26: 警告:调用‘copy_from_user_overflow’,声明有警告属性:copy_from_user() buffer size is not provably correct [默认启用]
===============================================================================================================================
drivers/isdn/hardware/mISDN/hfcpci.c: 在函数‘hfcpci_softirq’中:
drivers/isdn/hardware/mISDN/hfcpci.c:2318:2: 警告:忽略声明有 warn_unused_result 属性的‘driver_for_each_device’的返回值 [-Wunused-result]
==============================================================================================================
drivers/isdn/hardware/eicon/message.c: 在函数‘mixer_notify_update’中:
drivers/isdn/hardware/eicon/message.c:11308:54: 警告:数组下标大于数组边界 [-Warray-bounds]
In file included from /home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess.h:570:0,
                from include/net/checksum.h:25,
                from include/linux/skbuff.h:28,
                from drivers/isdn/hardware/avm/b1.c:17:
在函数‘copy_from_user’中,
    内联自‘b1_load_t4file’于 drivers/isdn/hardware/avm/b1.c:179:22:
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess_32.h:211:26: 警告:调用‘copy_from_user_overflow’,声明有警告属性:copy_from_user() buffer size is not provably correct [默认启用]
在函数‘copy_from_user’中,
    内联自‘b1_load_config’于 drivers/isdn/hardware/avm/b1.c:227:22:
/home/yuchao/dev/linux-3.0/arch/x86/include/asm/uaccess_32.h:211:26: 警告:调用‘copy_from_user_overflow’,声明有警告属性:copy_from_user() buffer size is not provably correct [默认启用]
===========================================================================================
WARNING: drivers/mfd/built-in.o(.data+0x24cc): Section mismatch in reference from the variable ab3550_driver to the function .init.text:ab3550_probe()
The variable ab3550_driver references
the function __init ab3550_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/f703740abdae486e1fb0bbfb35ed4991.html