嵌入式Linux驱动程序之编程常见错误
嵌入式Linux驱动程序之编程常见错误1、warning: function declaration isn"t a prototype这种错误也是很常见的,主要是对一些函数固定格式的错误使用。比如int function()改称int function(void)static int xxxx_init(void)记住不要缺少static,而static void xxxx_exit(void)2、出现 warning: assignment makes...