Skip to content
Commit ffa302ef authored by Chen Zhou's avatar Chen Zhou Committed by Jens Axboe
Browse files

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: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 272ecd60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment