PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to use it directly. hence just replace it. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Link: https://lore.kernel.org/r/1567665795-5901-3-git-send-email-zhongjiang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| scif_api.c | ||
| scif_debugfs.c | ||
| scif_dma.c | ||
| scif_epd.c | ||
| scif_epd.h | ||
| scif_fd.c | ||
| scif_fence.c | ||
| scif_main.c | ||
| scif_main.h | ||
| scif_map.h | ||
| scif_mmap.c | ||
| scif_nm.c | ||
| scif_nodeqp.c | ||
| scif_nodeqp.h | ||
| scif_peer_bus.c | ||
| scif_peer_bus.h | ||
| scif_ports.c | ||
| scif_rb.c | ||
| scif_rb.h | ||
| scif_rma.c | ||
| scif_rma.h | ||
| scif_rma_list.c | ||
| scif_rma_list.h | ||