diff options
author | Gustavo Pimentel <Gustavo.Pimentel@synopsys.com> | 2020-09-15 23:56:11 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-18 12:42:33 +0530 |
commit | 7f35e2798d01c90d6a2f306f7a9de4d7e004e905 (patch) | |
tree | bab9c786e46a70f2fb2fd70cf99c0068e39d09fa /drivers/dma/dw-edma | |
parent | ceae069803ef04f733c594dc196cc0626639be49 (diff) | |
download | linux-7f35e2798d01c90d6a2f306f7a9de4d7e004e905.tar.bz2 |
dmaengine: dw-edma: Fix Using plain integer as NULL pointer in dw-edma-v0-debugfs.c
Fixes warning given by executing "make C=2 drivers/dma/dw-edma/"
Sparse output:
drivers/dma/dw-edma/dw-edma-v0-debugfs.c:296:49: warning:
Using plain integer as NULL pointer
Cc: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Link: https://lore.kernel.org/r/6569fd8ca5ddaa73afef1241ad7978c2a1fae0c7.1600206938.git.gustavo.pimentel@synopsys.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw-edma')
-rw-r--r-- | drivers/dma/dw-edma/dw-edma-v0-debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw-edma/dw-edma-v0-debugfs.c b/drivers/dma/dw-edma/dw-edma-v0-debugfs.c index 42739508c0d8..6f62711a4c94 100644 --- a/drivers/dma/dw-edma/dw-edma-v0-debugfs.c +++ b/drivers/dma/dw-edma/dw-edma-v0-debugfs.c @@ -293,7 +293,7 @@ void dw_edma_v0_debugfs_on(struct dw_edma_chip *chip) if (!regs) return; - base_dir = debugfs_create_dir(dw->name, 0); + base_dir = debugfs_create_dir(dw->name, NULL); if (!base_dir) return; |