diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-08 10:54:17 +0200 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2017-05-08 20:50:21 +0530 |
commit | 34d84ec4881d1343bec8c0848fd946e3073e6612 (patch) | |
tree | 41949a9a79aa8b4acc78d3e441b354fecbbd889b /drivers/dma-buf/sync_debug.c | |
parent | dma-buf: Improve a size determination in dma_buf_attach() (diff) | |
download | linux-dev-34d84ec4881d1343bec8c0848fd946e3073e6612.tar.xz linux-dev-34d84ec4881d1343bec8c0848fd946e3073e6612.zip |
dma-buf: Adjust a null pointer check in dma_buf_attach()
The script "checkpatch.pl" pointed information out like the following.
Comparison to NULL could be written "!attach"
Thus adjust this expression.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'drivers/dma-buf/sync_debug.c')
0 files changed, 0 insertions, 0 deletions