commit | ffa302efe84ed8aa84aaf061ec4448036880b934 | [log] [tgz] |
---|---|---|
author | Chen Zhou <chenzhou10@huawei.com> | Tue Jan 21 09:28:27 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 22 10:31:55 2020 -0700 |
tree | 5b2f0a7fb504ffce66ab81be7f04db61b9149fd2 | |
parent | 272ecd60a636a8508997ff997ddfa143474e7c81 [diff] |
ata: pata_macio: fix comparing pointer to 0 Fixes coccicheck warning: ./drivers/ata/pata_macio.c:982:31-32: WARNING comparing pointer to 0, suggest !E Compare pointer-typed values to NULL rather than 0. Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>