diff options
| author | 2017-11-28 00:07:08 +0100 | |
|---|---|---|
| committer | 2017-12-04 22:40:38 +0530 | |
| commit | a8ffa34fa5384feeb44d9a47e1a050ec2f402545 (patch) | |
| tree | eb2e83a03b871ae2c46fd9f87140e9321b22286b /include/linux/stackprotector.h | |
| parent | Linux 4.15-rc1 (diff) | |
dmaengine: mic_x100_dma: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
drivers/dma/mic_x100_dma.c:483:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
