本文共 385 字,大约阅读时间需要 1 分钟。
在进行总线设备驱动程序开发实验过程中
我们执行[ 109.061662] the bus’s driver find the device it can handle
[ 109.061681] [ 109.067210] my_dev: probe of my_dev failed with error 84运行结果打印出来我们预计结果:the bus’s driver find the device it can handle
但也报出错误: my_dev: probe of my_dev failed with error 84
原因是bus匹配成功后调用的probe函数未return 0;
转载地址:http://mvomb.baihongyu.com/