-
由 Wei Yongjun 提交于
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: NWei Yongjun <weiyj.lk@gmail.com> Signed-off-by: NStefan Agner <stefan@agner.ch>
acd4d615
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: NWei Yongjun <weiyj.lk@gmail.com> Signed-off-by: NStefan Agner <stefan@agner.ch>